Sha256: ec1c3f9b4d70b45bec71639eca0845a0ccd9880771e42466ba15152c9fe806a6

Contents?: true

Size: 817 Bytes

Versions: 9

Compression:

Stored size: 817 Bytes

Contents

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

<div class='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'} %>
    </li>
  </ul>
  <br class='clear' />
</div>

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

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

<table class="index">
  <tr>
    <th><%= t("name") %></th>
    <th><%= t("presentation") %></th>
    <th></th>
  </tr>
  <% @option_types.each do |option_type| %>
    <tr id="<%= dom_id option_type %>">
      <td><%= option_type.name %></td>
      <td><%= option_type.presentation %></td>
      <td class="actions">
        <%= link_to_edit(option_type) %>
        &nbsp;
        <%= link_to_delete(option_type) %>
      </td>
    </tr>
  <% end %>
</table>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
spree_core-0.30.2 app/views/admin/option_types/index.html.erb
spree_core-0.40.4 app/views/admin/option_types/index.html.erb
spree_core-0.40.3 app/views/admin/option_types/index.html.erb
spree_core-0.40.2 app/views/admin/option_types/index.html.erb
spree_core-0.40.1 app/views/admin/option_types/index.html.erb
spree_core-0.40.0 app/views/admin/option_types/index.html.erb
spree_core-0.30.1 app/views/admin/option_types/index.html.erb
spree_core-0.30.0 app/views/admin/option_types/index.html.erb
spree_core-0.30.0.beta1 app/views/admin/option_types/index.html.erb