Sha256: e3f2e28e0d08872db4306fdfc45ded5330804eb34ade41f7ef32992d93992ece

Contents?: true

Size: 706 Bytes

Versions: 11

Compression:

Stored size: 706 Bytes

Contents

<%= form_with model: section, scope: :item, url: path, builder: Koi::FormBuilder do |form| %>
  <%= render "hidden_fields", form: %>

  <%= form.govuk_fieldset legend: nil do %>
    <%= form.govuk_text_field :heading %>
    <%= form.govuk_collection_radio_buttons :heading_style, Katalyst::Content.config.heading_styles, :itself, :itself,
                                            legend: { text: "Heading style" } %>
  <% end %>

  <%= form.govuk_select :background, Katalyst::Content.config.backgrounds %>

  <%= form.govuk_check_box_field :visible, small: true, label: { text: "Visible?" } %>

  <div class="actions">
    <%= form.admin_save "Done" %>
    <%= form.admin_discard %>
  </div>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
katalyst-koi-4.2.1 app/views/katalyst/content/sections/_section.html+form.erb
katalyst-koi-4.2.0 app/views/katalyst/content/sections/_section.html+form.erb
katalyst-koi-4.2.0.beta.2 app/views/katalyst/content/sections/_section.html+form.erb
katalyst-koi-4.2.0.beta.1 app/views/katalyst/content/sections/_section.html+form.erb
katalyst-koi-4.1.2 app/views/katalyst/content/sections/_section.html+form.erb
katalyst-koi-4.1.1 app/views/katalyst/content/sections/_section.html+form.erb
katalyst-koi-4.1.0 app/views/katalyst/content/sections/_section.html+form.erb
katalyst-koi-4.0.3 app/views/katalyst/content/sections/_section.html+form.erb
katalyst-koi-4.0.2 app/views/katalyst/content/sections/_section.html+form.erb
katalyst-koi-4.0.1 app/views/katalyst/content/sections/_section.html+form.erb
katalyst-koi-4.0.0 app/views/katalyst/content/sections/_section.html+form.erb