Sha256: ca1e58ec65c0eb247fe549d145277e752ae3528f8a4afb98341ff26ba69c7874

Contents?: true

Size: 1.17 KB

Versions: 6

Compression:

Stored size: 1.17 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 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

6 entries across 6 versions & 2 rubygems

Version Path
spree-enriquez-0.9.4 app/views/admin/option_types/index.html.erb
spree-0.9.4 app/views/admin/option_types/index.html.erb
spree-0.9.3 app/views/admin/option_types/index.html.erb
spree-0.9.2 app/views/admin/option_types/index.html.erb
spree-0.9.1 app/views/admin/option_types/index.html.erb
spree-0.9.0 app/views/admin/option_types/index.html.erb