Cosmetics
Some checks failed
/ Run tests (push) Failing after 1m13s
/ Run system tests (push) Failing after 1m15s
/ Build, push and deploy image (push) Has been skipped

This commit is contained in:
david 2024-11-01 00:50:15 +01:00
parent 729ed13521
commit 6db0b64f4c
7 changed files with 27 additions and 13 deletions

View file

@ -1,4 +1,4 @@
<%= bootstrap_form_with(model: checklist) do |form| %>
<%= bootstrap_form_with(model: checklist, data: { controller: "unsaved-changes" }) do |form| %>
<%= form.text_field :name %>
<%= form.rich_text_area :description_html, rows: 12 %>
<%= form.submit %>

View file

@ -0,0 +1,5 @@
= bootstrap_form_with(model: checklist, data: { controller: "unsaved-changes" }) do |form|
= form.text_field :name
= form.rich_text_area :description_html, rows: 12
= form.collection_check_boxes :check_ids, Check.all.order(:external_number), :id, :display_label
= form.submit