Sha256: c7317cd702e25edeb2e4efbd6bb8882a46a611f3269e7987a09483a23fe579b2

Contents?: true

Size: 848 Bytes

Versions: 9

Compression:

Stored size: 848 Bytes

Contents

<%= form_with model: item, scope: :item, url: path do |form| %>
  <%= form.hidden_field :type %>
  <%= render "form_errors", form: %>

  <div class="input">
    <%= form.label :title %>
    <%= form.text_field :title %>
  </div>

  <div class="input">
    <%= form.label :url %>
    <%= form.text_field :url %>
  </div>

  <div class="input">
    <%= form.label :http_method %>
    <%= form.select :http_method, Katalyst::Navigation::Button::HTTP_METHODS %>
  </div>

  <div class="field">
    <%= form.label :target %>
    <%= form.select :target, Katalyst::Navigation::Button::TARGETS %>
  </div>

  <div class="input">
    <%= form.check_box :visible %>
    <%= form.label :visible %>
  </div>

  <div class="button-row">
    <%= form.submit "Done" %>
    <%= link_to "Discard", menu_path(item.menu), class: "button--text" %>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
katalyst-navigation-1.8.4 app/views/katalyst/navigation/items/_button.html.erb
katalyst-navigation-1.8.3 app/views/katalyst/navigation/items/_button.html.erb
katalyst-navigation-1.8.2 app/views/katalyst/navigation/items/_button.html.erb
katalyst-navigation-1.8.1 app/views/katalyst/navigation/items/_button.html.erb
katalyst-navigation-1.8.0 app/views/katalyst/navigation/items/_button.html.erb
katalyst-navigation-1.6.0 app/views/katalyst/navigation/items/_button.html.erb
katalyst-navigation-1.5.2 app/views/katalyst/navigation/items/_button.html.erb
katalyst-navigation-1.5.1 app/views/katalyst/navigation/items/_button.html.erb
katalyst-navigation-1.5.0 app/views/katalyst/navigation/items/_button.html.erb