Workflow default status and computing positions

This commit is contained in:
2026-04-25 16:17:14 +03:00
parent 2a0a70c290
commit debff6dc22
10 changed files with 71 additions and 15 deletions
@@ -3,6 +3,7 @@
= f.fields_for :task_statuses do |tsf|
section
div= task_status_badge tsf.object
div= f.radio_button :default_status_id, tsf.object.id
div= tsf.collection_checkboxes :next_status_ids, @workflow.task_statuses - [tsf.object], :id, :name
.submit