a11yist/app/views/checklist_entries/_form.html.erb
david c52845e988
Some checks failed
/ Run tests (push) Failing after 16s
/ Run system tests (push) Failing after 15s
/ Build, push and deploy image (push) Has been skipped
Fox checklist entry dispaly
2024-10-26 02:24:27 +02:00

7 lines
No EOL
509 B
Text

<%= bootstrap_form_with(model: checklist_entry, layout: :horizontal) do |form| %>
<%= 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" %>
<%= form.hidden_field :checklist_id %>
<%= form.collection_select :check_id, Check.all.order(:name_de), :id, :name_de %>
<%# form.number_field :position %>
<% end %>