Sha256: 1d762508110e08652f058dd0855732f255b5e3605181610601659b95e6b431b1
Contents?: true
Size: 1.23 KB
Versions: 2
Compression:
Stored size: 1.23 KB
Contents
<fieldset class="no-border-bottom"> <legend align="center"><%= plural_resource_name(SolidusConfigurableKits::Requirement) %></legend> <table class="index kits"> <thead data-hook="kits_header"> <tr> <th><%= SolidusConfigurableKits::Requirement.human_attribute_name(:name) %></th> <th><%= SolidusConfigurableKits::Requirement.human_attribute_name(:required_product) %></th> <th><%= SolidusConfigurableKits::Requirement.human_attribute_name(:optional) %></th> <th class="actions"></th> </tr> </thead> <tbody> <% kit_requirements.each do |kit_requirement| %> <tr id="<%= spree_dom_id kit_requirement %>"> <td><%= kit_requirement.name %></td> <td><%= kit_requirement.required_product.name %></td> <td><%= kit_requirement.optional? ? t('spree.say_yes') : t('spree.say_no')%></td> <td class="actions"> <% if can?(:update, kit_requirement) %> <%= link_to_edit(kit_requirement, no_text: true) %> <% end %> <% if can?(:destroy, kit_requirement) %> <%= link_to_delete(kit_requirement, no_text: true) %> <% end %> </td> </tr> <% end %> </tbody> </table> </fieldset>
Version data entries
2 entries across 2 versions & 1 rubygems