Sha256: b2cf51935ab4fbaba22c47b6d2578bde0a457a49526114c066053fc9dc0ae6e1

Contents?: true

Size: 866 Bytes

Versions: 1

Compression:

Stored size: 866 Bytes

Contents

<% content_for :page_title do %>
  <%= t("add_on.listing_add_on_maker") %>
<% end %>

<% content_for :page_actions do %>
  <li>
    <%= button_link_to t("add_on.new_add_on_maker"), new_admin_add_on_maker_path , :icon => 'icon-plus', :id => 'admin_new_add_on_maker'%>
  </li>
<% end %>

<%= paginate @add_on_maker %>

<table class='index'>
  <thead>
    <tr>
      <th><%= t("activerecord.attributes.add_on_maker.name") %></th>
    </tr>
  </thead>
  
  <tbody>
    <% @add_on_maker.each do |maker| %>
      <tr class="<%= cycle('odd', 'even') %>">
        <td class="align-center"><%= maker.name %></td>
        <td class="actions"><%= link_to_edit maker, :no_text => true, :class => 'edit' %></td>
        <td class="actions"><%= link_to_delete maker, :no_text => true if can?(:delete, maker) && !maker.deleted? %></td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_maker_search-0.1.1 app/views/spree/admin/add_on_makers/index.html.erb