Sha256: 8c4a395bfcf374c0fd70cb60c172170a75afc324aa2bb13998fc6a05a182ea00

Contents?: true

Size: 476 Bytes

Versions: 4

Compression:

Stored size: 476 Bytes

Contents

<%= render PandaCms::Admin::ContainerComponent.new do |component| %>
  <% component.with_heading(text: "Menus", level: 1) do |heading| %>
  <% end %>
  <%= render PandaCms::Admin::TableComponent.new(term: "menu", rows: menus) do |table| %>
    <% table.column("Name") { |menu| link_to menu.name, edit_admin_menu_path(menu) } %>
    <% table.column("Kind") { |menu| render PandaCms::Admin::TagComponent.new(status: :active, text: menu.kind.titleize) } %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
panda_cms-0.6.3 app/views/panda_cms/admin/menus/index.html.erb
panda_cms-0.6.2 app/views/panda_cms/admin/menus/index.html.erb
panda_cms-0.6.1 app/views/panda_cms/admin/menus/index.html.erb
panda_cms-0.6.0 app/views/panda_cms/admin/menus/index.html.erb