Sha256: a8d2845a40d2ad74b3b303b6304f8d453a7e35df623d6bb63e464c164dd46260

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

<%= render :partial => 'shared/product_sub_menu' %>
<h1><%= t("Option Types") %></h1>
<table class="basic-table">
	<thead>
		<tr>
			<th><%= t("Name") %></th>
			<th><%= t("Presentation") %></th>
			<th><%= t("Action") %></th>
		</tr>
	</thead>
	<tbody>
    <% @option_types.each do |option_type| %>
      <tr>
        <td valign="top"><%= option_type.name %></td>
        <td valign="top"><%= option_type.presentation %></td>
		    <td valign="top">
		      <%= link_to_edit(option_type) %>
		      &nbsp;
		      <%= link_to_delete(option_type) %>
		    </td>        
      </tr>
    <% end %>
  </tbody>
</table>

<div id="option-types">
  
</div>
<%= image_tag "spinner.gif", :plugin=>"spree", :style => "display:none", :id => 'busy_indicator' %>
<br/>
<span id="new_ot_link">
  <%= 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')" %>
</span>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree-0.4.1 app/views/admin/option_types/index.html.erb
spree-0.4.0 app/views/admin/option_types/index.html.erb
spree-0.5.0 app/views/admin/option_types/index.html.erb
spree-0.5.1 app/views/admin/option_types/index.html.erb