Sha256: 8a1374dcac4801769507f1a8200663c6acc658564a6b7504cef500dd791a4cf0

Contents?: true

Size: 1.13 KB

Versions: 8

Compression:

Stored size: 1.13 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>
  <% @option_types.each do |option_type| %>
    <tr class="spree_option_type" id="spree_option_type_<%= option_type.id %>" 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 %>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-1.0.7 app/views/spree/admin/option_types/index.html.erb
spree_core-1.0.6 app/views/spree/admin/option_types/index.html.erb
spree_core-1.0.4 app/views/spree/admin/option_types/index.html.erb
spree_core-1.0.3 app/views/spree/admin/option_types/index.html.erb
spree_core-1.0.2 app/views/spree/admin/option_types/index.html.erb
spree_core-1.0.1 app/views/spree/admin/option_types/index.html.erb
spree_core-1.0.0 app/views/spree/admin/option_types/index.html.erb
spree_core-1.0.0.rc4 app/views/spree/admin/option_types/index.html.erb