Sha256: 94cbb1bd458cb2df21e9c1f69adfebb280cb7aa3d07ffa50eb62a6a6ae214a5e

Contents?: true

Size: 744 Bytes

Versions: 2

Compression:

Stored size: 744 Bytes

Contents

<%= form_with model: group, scope: :item, url: path do |form| %>
  <%= render "hidden_fields", form: form %>
  <%= render "form_errors", form: form %>

  <div class="field">
    <%= form.label :heading %>
    <%= form.text_field :heading %>
  </div>

  <div class="field">
    <%= form.label :heading_style %>
    <%= form.collection_radio_buttons :heading_style, Katalyst::Content.config.heading_styles, :itself, :itself %>
  </div>

  <div class="field">
    <%= form.label :background %>
    <%= form.select :background, Katalyst::Content.config.backgrounds %>
  </div>

  <div class="field">
    <%= form.label :visible %>
    <%= form.check_box :visible %>
  </div>

  <%= form.submit "Done" %>
  <%= link_to "Discard", :back %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
katalyst-content-1.1.1 app/views/katalyst/content/groups/_group.html+form.erb
katalyst-content-1.1.0 app/views/katalyst/content/groups/_group.html+form.erb