%= bootstrap_form_with(model: element, data: element.persisted? || { turbo_frame: "_top" }) do |form| %>
<%= form.hidden_field :report_id %>
<%= form.text_field :path %>
<%= form.collection_select(:checklist_id, Checklist.all, :id, :name) %>
<%= form.text_field :title %>
<%= form.rich_text_area :description_html %>
<%= form.submit class: "btn btn-warning" %>
<%= link_to("Abbrechen", element.report, class: "btn btn-outline-secondary") %>
<% end %>