Statuses in task - db field and forms

This commit is contained in:
2025-10-25 17:41:06 +03:00
parent b08468568b
commit ba2aad93af
12 changed files with 86 additions and 13 deletions
+3
View File
@@ -3,6 +3,9 @@ h1
=< @task.full_number
= form_with model: @form do |form|
.field
= form.label :status_id
= form.select :status_id, current_project.task_statuses.default_order.map { |ts| [ts.name, ts.id] }
.field
= form.label :title
= form.text_field :title