Sha256: e0fc164c4c837c1dce8f75ca8f3e44ccb29033db113aa0704f9687cc9bd2f43e

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

<% content_for :title, "Navigations" %>

<nav class="index-table-actions">
  <div class="item-actions">
    <%= link_to "Add", [:new, :menu], class: "button button--primary" %>
  </div>
</nav>

<%= table_with collection: menus, sort: sort, class: "index-table" do |row, menu| %>
  <%= row.cell :title do |cell| %>
    <%= link_to cell.value, menu %>
  <% end %>
  <%= row.cell :slug %>
  <%= row.cell :actions do |cell| %>
    <%= button_to "Delete", menu, method: :delete, class: "button button--text" %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
katalyst-navigation-1.0.2 app/views/katalyst/navigation/menus/index.html.erb
katalyst-navigation-1.0.1 app/views/katalyst/navigation/menus/index.html.erb
katalyst-navigation-1.0.0 app/views/katalyst/navigation/menus/index.html.erb