Sha256: 0852b842bd5a9780d0c3fe70e207bde5bf44d77368f87ee9b5159a296320b533

Contents?: true

Size: 1.52 KB

Versions: 30

Compression:

Stored size: 1.52 KB

Contents

<div class='well'>
  <table class="table table-striped">
    <thead>
      <tr>
        <th colspan='3'>
          <div>

            <div class='link_group_name'>
              <h3><%= link_group.name %></h3>
            </div>

            <div class='link_group_edit'>
              <%= link_to t(:edit), edit_admin_link_group_path(link_group) %>
              |
              <%= link_to [:admin, link_group], class: 'delete', data: { confirm: t(:delete_confirmation_for_link_group) }, method: 'delete', title: 'Delete' do %>
                <i class='icon-remove icon-white'></i>
              <% end %>
            </div>

            <div style='float:right'>
              <%= link_to new_admin_link_group_navigation_path(link_group), class: 'btn btn-success' do %>
                <i class='icon-plus'></i> Add new link
              <% end %>
            </div>

            <div style='clear:both;'></div>
          </div>
        </th>
      </tr>
      <tr>
        <th>Link name </th>
        <th>&nbsp;</th>
        <th>&nbsp;</th>
      </tr>
    </thead>
    <tbody>
      <% link_group.navigations.each do |nav| %>
        <tr>
          <td> <%= nav.product_group.name %> </td>
          <td>&nbsp; </td>
          <td>
            <%= link_to [:admin, link_group, nav], data: { confirm: t(:delete_confirmation_for_link) }, class: 'delete', title: 'Delete', method: 'delete' do %>
              <i class='icon-remove icon-white'></i>
            <% end %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
nimbleshop_core-0.0.23 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.21 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.20 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.19 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.17 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.16 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.15 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.14 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.14.rc2 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.14.rc1 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.13 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.12 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.11 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.10 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.9 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.8 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.7 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.5 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.4.beta1 app/views/admin/link_groups/_link_group.html.erb
nimbleshop_core-0.0.4 app/views/admin/link_groups/_link_group.html.erb