
<div class="page-header">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="<%= root_path %>">Home</a></li>
    <li class="breadcrumb-item active">Menu Category</li>
    <span class="float-right">
      <%= link_to 'Back', root_path %>
    </span>
  </ol>
</div>
<div class="row">
  <div class="col-xs-12 col-sm-12 col-md-2 col-lg-2">
   <div class="card">
    <ul class="list-group">
      <li class="list-group-item"><%= link_to 'Menu Categories', dashboard_path %></li>
      <li class="list-group-item"><%= link_to 'Menu Item', dashboard_path %></li>
      <li class="list-group-item"><%= link_to 'Item Set', dashboard_path %></li>
      <li class="list-group-item"><%= link_to 'Simple Menu', dashboard_path %></li>
      <li class="list-group-item"><%= link_to 'Set Menu', dashboard_path %></li>
    </ul>
  </div>
</div>
<div class="col-xs-12 col-sm-12 col-md-7 col-lg-7">
 <div class="card">
  <div class="m-b-5 m-t-10 clearfix">
    <%= link_to 'New Settings Menu Item Set', new_settings_menu_item_set_path ,:class => 'btn btn-primary btn-lg float-right waves-effect"'%>
  </div>
  <table class="table table-striped">
    <thead>
      <tr>
        <th>Item set</th>
        <th>Menu item</th>
        <th>Actions</th>
      </tr>
    </thead>
    <tbody>
      <% @settings_menu_item_sets.each do |item| %>
      <tr>
        <td><%= item.item_set.name %></td>
        <td><%= item.menu_item.name %></td>
        <td>
          <%= link_to t("views.btn.show"), settings_menu_item_set_path(item),:class=>'btn btn-sm btn-success waves-effect' %>
          <%= link_to t("views.btn.edit"), edit_settings_menu_item_set_path(item),:class=>'btn btn-sm btn-primary waves-effect' %>
          <!-- <%= link_to t("views.btn.delete"), settings_menu_item_set_path(item), method: :delete, data: { confirm: 'Are you sure?' } ,:class=>'btn btn-danger btn-sm'%> -->
            
          </td>
        </tr>
        <% end %>
      </tbody>
    </table>
  </div>

</div>
<div class="col-xs-12 col-sm-12 col-md-3 col-lg-3">
  <div class="card">
    <div class="body">
      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
      tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
      quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
      consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
    </div>
  </div>  
</div>
</div>


