Sha256: 0ae025e626073f0e52577a51ef5faf04d9de737b500128e2a5f7b037192d7cab

Contents?: true

Size: 832 Bytes

Versions: 4

Compression:

Stored size: 832 Bytes

Contents

<%= form_with model: aside, scope: :item, url: path do |form| %>
  <%= render "hidden_fields", form: %>
  <%= render "form_errors", 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>

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katalyst-content-2.7.0 app/views/katalyst/content/asides/_aside.html+form.erb
katalyst-content-2.6.2 app/views/katalyst/content/asides/_aside.html+form.erb
katalyst-content-2.6.1 app/views/katalyst/content/asides/_aside.html+form.erb
katalyst-content-2.6.0 app/views/katalyst/content/asides/_aside.html+form.erb