Sha256: c4fcded4198c73c9d74fb102db8488ceb3bc1fdf7741efd9476104f6ff7e15f6

Contents?: true

Size: 744 Bytes

Versions: 2

Compression:

Stored size: 744 Bytes

Contents

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