Default task broadcast

This commit is contained in:
2025-11-03 00:38:57 +02:00
parent 1c644c6385
commit 7839a58464
3 changed files with 18 additions and 16 deletions
+8 -16
View File
@@ -1,20 +1,12 @@
h1= tasks_index_title
.row
section.row
= link_to 'New', new_task_path(project: current_project&.code)
- if @tasks.exists?
table.tasks-table
thead
tbody
- @tasks.each do |task|
- cache task do
tr
td= link_to task.full_number, task_path(task)
td
= task_status_selector task, with_form: true
td= task.title
td
= link_to 'Edit', edit_task_path(task)
- else
p No tasks
table.tasks-table
thead
tbody#tasks
= render partial: 'table_row', collection: @tasks, as: :task
- if current_project
= turbo_stream_from current_project, :tasks