Files
subtle-storm/app/views/tasks/index.html.slim
T
2025-10-30 02:55:21 +02:00

20 lines
428 B
Plaintext

h1= tasks_index_title
.row
= link_to 'New', new_task_path(project: current_project&.code)
- if @tasks.exists?
table
thead
tbody
- @tasks.each do |task|
- cache task do
tr
td= link_to task.full_number, task_path(task)
td= task_status_badge task.status
td= task.title
td
= link_to 'Edit', edit_task_path(task)
- else
p No tasks