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> </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