Sha256: 72dbba963447e6f69d451c8e52e2303a875b6b9d7f83d1256f4a4c742a88378b

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

<%= render :partial => '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>
  <tr data-hook="option_header">
    <th><%= t("name") %></th>
    <th><%= t("presentation") %></th>
    <th></th>
  </tr>
  <% @option_types.each do |option_type| %>
    <tr id="<%= 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 %>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/admin/option_types/index.html.erb
spree_core-0.70.RC1 app/views/admin/option_types/index.html.erb