Sha256: 69de43d2a8d4ee0eae542ac64b05b2a5ad0d8834a9031069bcac5fd40758badd

Contents?: true

Size: 1.3 KB

Versions: 13

Compression:

Stored size: 1.3 KB

Contents

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

<div id="selected-options">

<%= render :partial => 'admin/shared/product_tabs', :locals => {:current => "Option Types"} %>


  <table class="index">
		<tr>
			<th><%= t("name") %></th>
			<th><%= t("presentation") %></th>
			<th>&nbsp;</th>
		</tr>
    <% @option_types.each do |option_type| %>
      <tr>
        <td><%= option_type.name %></td>
        <td><%= option_type.presentation %></td>
		    <td class="actions">
		    <%= link_to_with_icon 'delete',  t("remove"), remove_admin_product_option_type_url(@product, option_type) %>
		    </td>        
      </tr>
    <% end %>
    <% if @option_types.empty? %>
     <tr><td colspan="3">None.</td></tr>
    <% end %>
  </table>

  <%= image_tag "spinner.gif", :style => "display:none", :id => 'busy_indicator' %>
  <div id="option-types"></div>
  <span id="new_opt_link">
    <%= link_to_remote icon('add') + ' ' + t("add_option_type"), 
                       {:url => available_admin_product_option_types_url(@product),
                       :method => :get,
                       :update => "option-types",
                       :before => "$('new_opt_link').hide();$('busy_indicator').show()", 
                       :complete => "Element.hide('busy_indicator')"}, :class => 'iconlink' %>
  </span>
</div>

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 app/views/admin/option_types/selected.html.erb
spree-enriquez-0.9.4 app/views/admin/option_types/selected.html.erb
spree-0.9.4 app/views/admin/option_types/selected.html.erb
spree-0.9.3 app/views/admin/option_types/selected.html.erb
spree-0.9.2 app/views/admin/option_types/selected.html.erb
spree-0.9.1 app/views/admin/option_types/selected.html.erb
spree-0.9.0 app/views/admin/option_types/selected.html.erb
spree-0.8.4 app/views/admin/option_types/selected.html.erb
spree-0.8.5 app/views/admin/option_types/selected.html.erb
spree-0.8.0 app/views/admin/option_types/selected.html.erb
spree-0.8.1 app/views/admin/option_types/selected.html.erb
spree-0.8.2 app/views/admin/option_types/selected.html.erb
spree-0.8.3 app/views/admin/option_types/selected.html.erb