Sha256: a571e1e14fdfeb52b3a3d0f67d7ee1867a8c3e8c2adfbccad4cd8ddb710d1716

Contents?: true

Size: 743 Bytes

Versions: 5

Compression:

Stored size: 743 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 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>
  </div>

<script type="text/javascript">
  $(document).ready(function() { spud.admin.cms.menu_items.init();})
</script>

<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tb_cms-1.2.2 app/views/admin/menu_items/index.html.erb
tb_cms-1.2.1 app/views/admin/menu_items/index.html.erb
tb_cms-1.2.0 app/views/admin/menu_items/index.html.erb
tb_cms-1.2.0.beta3 app/views/admin/menu_items/index.html.erb
tb_cms-1.2.0.beta1 app/views/admin/menu_items/index.html.erb