Sha256: 1b91ea20ea7bb0c270905d4c508f4aff9d0bbce826a73664d9588aa8967376fa

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

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

<div class='toolbar'>
  <ul class='actions'>
    <li id="new_ot_link">
      <%= button_link_to_remote t("new_option_type"), 
                         {:url => new_admin_option_type_url, 
                         :method => :get,
                         :update => "option-types"}, :icon => 'add' %>
    </li>
  </ul>
  <br class='clear' />
</div>

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

<%= image_tag "spinner.gif", :plugin=>"spree", :style => "display:none", :id => 'busy_indicator' %>
<div id="option-types"></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-0.11.4 vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb
spree-0.11.3 vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb
spree-0.11.2 vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb
spree-0.11.1 vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb
spree-0.11.0 vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb
spree-0.10.2 vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb
spree-0.10.1 vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb
spree-0.10.0 vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb
spree-0.10.0.beta vendor/extensions/theme_default/app/views/admin/option_types/index.html.erb