Sha256: c6785b0dec9840610040df702e905bcacc6786982f92ad01c146d429c23d4e9f
Contents?: true
Size: 933 Bytes
Versions: 2
Compression:
Stored size: 933 Bytes
Contents
<%= form.field_container :name do %> <%= form.label :name %> <%= form.field_hint :name %> <%= form.text_field :name, required: true, class: "fullwidth" %> <% end %> <%= form.field_container :required_product do %> <%= form.label :required_product %> <%= form.select :required_product_id, Spree::Product.with_kit_item_prices.map { |p| [p.name, p.id] }, {}, class: "custom-select fullwidth" %> <% end %> <%= form.field_container :description do %> <%= form.label :description %> <%= form.field_hint :description %> <%= form.text_area :description, class: "fullwidth" %> <% end %> <%= form.field_container :optional do %> <div class="checkbox"> <label> <%= form.check_box :optional %> <%= SolidusConfigurableKits::Requirement.human_attribute_name(:optional) %> </label> <%= form.field_hint :optional %> </div> <% end %> <div class="clear"></div>
Version data entries
2 entries across 2 versions & 1 rubygems