Cosmetics
This commit is contained in:
parent
729ed13521
commit
6db0b64f4c
7 changed files with 27 additions and 13 deletions
|
|
@ -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 %>
|
||||
5
app/views/checklists/_form.html.slim
Normal file
5
app/views/checklists/_form.html.slim
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue