Sha256: 45e166f688859cd3378854cf30c6ad504ea8c0d87a9fde432057da401863c1cb

Contents?: true

Size: 551 Bytes

Versions: 2

Compression:

Stored size: 551 Bytes

Contents

<%= form_with model: item, scope: :item, url: path, builder: Koi::FormBuilder do |form| %>
  <%= form.hidden_field :type %>
  <%= form.govuk_text_field :title %>
  <%= form.govuk_text_field :url %>

  <%= form.govuk_select :http_method, Katalyst::Navigation::Button::HTTP_METHODS %>

  <%= form.govuk_check_box_field :visible, small: true, label: { text: "Visible?" } %>
  <%= form.govuk_select :target, Katalyst::Navigation::Item::TARGETS %>

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
katalyst-koi-4.0.1 app/views/katalyst/navigation/items/_button.html.erb
katalyst-koi-4.0.0 app/views/katalyst/navigation/items/_button.html.erb