Sha256: d2ba09be1029c196a53bd4c9e6361081d83da8e981aabd12330eb0151a6d7ed1

Contents?: true

Size: 746 Bytes

Versions: 2

Compression:

Stored size: 746 Bytes

Contents

<%= form_with model: section, 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/sections/_section.html+form.erb
katalyst-content-1.1.0 app/views/katalyst/content/sections/_section.html+form.erb