Sha256: eb2b0c1b74391427ea2114d7fb007080ce0e8407829842fe86d8796e16dc7e8a
Contents?: true
Size: 906 Bytes
Versions: 29
Compression:
Stored size: 906 Bytes
Contents
<table class="index"> <tr data-hook="selected_head"> <th><%= t(:name) %></th> <th><%= t(:presentation) %></th> <th> </th> </tr> <% @option_types.each do |option_type| %> <tr data-hook="selected_row"> <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 data-hook="selected_none"><td colspan="3"><%= t(:none) %></td></tr> <% end %> </table> <div id="option-types" data-hook></div> <% if @product.variants.empty? %> <span id="new_opt_link" data-hook="links"> <%= link_to icon('add') + ' ' + t(:add_option_type), available_admin_product_option_types_url(@product), :remote => :true, :class => 'iconlink' %> </span> <% end %>
Version data entries
29 entries across 29 versions & 1 rubygems