Workflow statuses editing

This commit is contained in:
2026-04-13 02:22:52 +03:00
parent 9766430e69
commit 450b7fb1d0
10 changed files with 130 additions and 20 deletions
@@ -0,0 +1,16 @@
= form_with model: @form, scope: 'workflow', url: project_admin_workflow_statuses_path(@project, @workflow), method: :put do |f|
= f.fields_for :task_statuses, include_id: false do |tsf|
fieldset
= tsf.hidden_field :id
= tsf.hidden_field :_destroy
.field
= tsf.label :name
= tsf.text_field :name
.field
= tsf.label :color
= tsf.select :color, TaskStatus.colors
.field
= tsf.label :icon
= tsf.select :icon, TaskStatus.icons
.submit
= f.submit