Sha256: ebd14181a36bdd1a803f8945841879babf4bf13065f50dbed480f5b8e6d597ea

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 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",
                         :before => "Element.hide('new_ot_link');Element.show('busy_indicator')", 
                         :complete => "Element.hide('busy_indicator')"}, :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>
      <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

7 entries across 7 versions & 2 rubygems

Version Path
kdmny-spree-0.0.1 app/views/admin/option_types/index.html.erb
spree-0.8.4 app/views/admin/option_types/index.html.erb
spree-0.8.5 app/views/admin/option_types/index.html.erb
spree-0.8.0 app/views/admin/option_types/index.html.erb
spree-0.8.1 app/views/admin/option_types/index.html.erb
spree-0.8.2 app/views/admin/option_types/index.html.erb
spree-0.8.3 app/views/admin/option_types/index.html.erb