%= form_with model: group, scope: :item, url: path do |form| %>
<%= render "hidden_fields", form: form %>
<%= render "form_errors", form: form %>
<%= form.label :heading %>
<%= form.text_field :heading %>
<%= form.label :heading_style %>
<%= form.collection_radio_buttons :heading_style, Katalyst::Content.config.heading_styles, :itself, :itself %>
<%= form.label :background %>
<%= form.select :background, Katalyst::Content.config.backgrounds %>
<%= form.label :visible %>
<%= form.check_box :visible %>
<%= form.submit "Done" %>
<%= link_to "Discard", :back %>
<% end %>