Sha256: e6f3fb68e94c6729c096ceb0717906088b3e65b09c5fb449cae2ac7a4566f878
Contents?: true
Size: 805 Bytes
Versions: 28
Compression:
Stored size: 805 Bytes
Contents
<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"><%= t(:none) %></td></tr> <% end %> </table> <div id="option-types"></div> <% if @product.variants.empty? %> <span id="new_opt_link"> <%= link_to icon('add') + ' ' + t("add_option_type"), available_admin_product_option_types_url(@product), :remote => :true, :class => 'iconlink' %> </span> <% end %>
Version data entries
28 entries across 28 versions & 6 rubygems