Sha256: bf71ca155a17bda980eb1db1b4bdec78b407f5f2234752db9f69cf127e413918

Contents?: true

Size: 755 Bytes

Versions: 7

Compression:

Stored size: 755 Bytes

Contents

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

  <div class="field">
    <%= form.label :image %>
    <%= form.file_field :image %>
  </div>

  <div class="field">
    <%= form.label :heading %>
    <%= form.text_field :heading %>
  </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 :caption %>
    <%= form.text_field :caption %>
  </div>

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
katalyst-content-1.1.1 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-content-1.1.0 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-content-1.0.2 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-content-1.0.1 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-content-1.0.0 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-content-0.2.2 app/views/katalyst/content/figures/_figure.html+form.erb
katalyst-content-0.2.1 app/views/katalyst/content/figures/_figure.html+form.erb