a11yist/app/views/checklist_entries/_form.html.erb

9 lines
613 B
Text
Raw Permalink Normal View History

2024-10-27 22:37:11 +01:00
<div id="<%= dom_id checklist_entry %>">
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-11-03 21:58:25 +01:00
<%= form.collection_select :check_id, Check.all.order(:external_number_1, :external_number_2, :external_number_3), :id, :display_label %>
2024-07-20 16:52:12 +02:00
<%# form.number_field :position %>
2024-10-27 22:37:11 +01:00
<% end %>
</div>