2024-07-19 02:29:18 +02:00
|
|
|
<%= bootstrap_form_with(model: checklist_entry, layout: :horizontal) do |form| %>
|
2024-07-20 16:52:12 +02:00
|
|
|
<%= link_to "Abbrechen", checklist_entry.persisted? ? checklist_entry : checklist_entry.checklist, class: "btn btn-outline-secondary float-end", data: { turbo_frame: "checklist_entries" } %>
|
|
|
|
|
<%= form.submit class: "btn btn-secondary float-end me-2" %>
|
2024-07-19 02:29:18 +02:00
|
|
|
<%= form.hidden_field :checklist_id %>
|
2024-10-26 02:24:27 +02:00
|
|
|
<%= form.collection_select :check_id, Check.all.order(:name_de), :id, :name_de %>
|
2024-07-20 16:52:12 +02:00
|
|
|
<%# form.number_field :position %>
|
2024-07-19 02:29:18 +02:00
|
|
|
<% end %>
|