Sha256: 2f65f79bd151b61994f53f08beaffd1253109567dffa5f02d5b278048a775b7d

Contents?: true

Size: 1.15 KB

Versions: 7

Compression:

Stored size: 1.15 KB

Contents

<%= render :partial => 'spree/admin/shared/product_sub_menu' %>

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li id="new_ot_link">
      <%= button_link_to t(:new_option_type), new_admin_option_type_url, { :remote => true, :icon => 'add', :id => 'new_option_type_link' } %>
    </li>
  </ul>
  <br class="clear" />
</div>

<h1><%= t(:option_types) %></h1>

<div id="new_option_type"></div>

<table class="index sortable" id="listing_option_types" data-hook data-sortable-link="<%= update_positions_admin_option_types_url %>">
  <tr data-hook="option_header">
    <th><%= t(:name) %></th>
    <th><%= t(:presentation) %></th>
    <th></th>
  </tr>
  <tbody>
  <% @option_types.each do |option_type| %>
    <tr class="spree_option_type" id="<%= spree_dom_id option_type %>" data-hook="option_row">
      <td><span class="handle"></span> <%= option_type.name %></td>
      <td class="presentation"><%= option_type.presentation %></td>
      <td class="actions">
        <%= link_to_edit(option_type, :class => 'admin_edit_option_type') %>
        &nbsp;
        <%= link_to_delete(option_type) %>
      </td>
    </tr>
  <% end %>
  </tbody>
</table>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_core-1.2.5 app/views/spree/admin/option_types/index.html.erb
spree_core-1.2.4 app/views/spree/admin/option_types/index.html.erb
spree_core-1.2.3 app/views/spree/admin/option_types/index.html.erb
spree_core-1.2.2 app/views/spree/admin/option_types/index.html.erb
spree_core-1.2.0 app/views/spree/admin/option_types/index.html.erb
spree_core-1.2.0.rc2 app/views/spree/admin/option_types/index.html.erb
spree_core-1.2.0.rc1 app/views/spree/admin/option_types/index.html.erb