Sha256: b4bb912f6fa8266e1cdd06e097cd433d665fbe5a70398e274f911c27a74d9ec0

Contents?: true

Size: 876 Bytes

Versions: 21

Compression:

Stored size: 876 Bytes

Contents

<%= form_with model: content, 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 :content %>
    <%= form.rich_text_area :content, content_editor_rich_text_attributes %>
  </div>

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
katalyst-content-2.8.0 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.7.1 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.7.0 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.6.2 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.6.1 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.6.0 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.5.1 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.5.0 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.4.2 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.4.1 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.3.2 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.3.1 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.3.0 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.2.0 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.1.4 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.1.3 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.1.2 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.1.1 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.1.0 app/views/katalyst/content/contents/_content.html+form.erb
katalyst-content-2.0.1 app/views/katalyst/content/contents/_content.html+form.erb