Statuses in task - db field and forms
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user