<%= bootstrap_form_with(model: element.persisted? ? element : [:page, element], class: "mb-3") do |form| %>
  <%= form.hidden_field :page_id %>
  <%= form.text_field :title %>
  <%= form.rich_text_area :description %>
  <%= form.submit class: "btn btn-warning" %>
  <%= link_to("Abbrechen", element.persisted? ? element : element.report, class: "btn btn-outline-secondary") %>
<% end %>
