Sha256: 202407fcf0853b88658bd1be959cc9f967d8bb592010af80d744ab9eae5230dd

Contents?: true

Size: 790 Bytes

Versions: 1

Compression:

Stored size: 790 Bytes

Contents

<% content_for :data_controls do %>
  <%= link_to "New Menu Item", new_admin_menu_menu_item_path(), :class => "btn btn-primary", :title => "New Menu Item" %>
<% end %>

<% content_for :detail do %>
  <div id="sort" class="table-responsive">
    <table class="table table-striped table-hover">
      <thead>
        <tr>
          <th>Name</th>
          <th>URL</th>
          <th>&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <% @menu_items.each do |item| %>
          <%= render :partial => 'menu_item_row', :locals => {:menu_item => item, :depth => 0} %>
        <% end %>
      </tbody>
    </table>
    <input type="hidden" value=<%= @menu.id %> id="menu-id">
  </div>
<script type="text/javascript">
  $(document).ready(tb.cms.menu_items.init);
</script>

<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tb_cms-1.3.6 app/views/admin/menu_items/index.html.erb