Sha256: 0d421c554a4eca70b5a0aeafee9a1702f041fcf27d06ade6982aa6b13fead274
Contents?: true
Size: 1.16 KB
Versions: 4
Compression:
Stored size: 1.16 KB
Contents
<tr class="product_property fields" id="spree_<%= dom_id(f.object) %>" data-hook="product_property"> <% if f.object.persisted? && can?(:edit, f.object) %> <td class="move-handle"> <%= svg_icon name: "grip-vertical.svg", width: '14', height: '14' %> <%= f.hidden_field :id %> </td> <% else %> <td style="opacity:0.2;"> <%= svg_icon name: "grip-vertical.svg", width: '14', height: '14' %> <%= f.hidden_field :id %> </td> <% end %> <td class='property_name'> <%= f.text_field :property_name, class: 'autocomplete form-control', required: true %> </td> <td class='value'> <%= f.text_field :value, class: 'form-control', required: true %> </td> <td class="show_property text-center"> <%= f.check_box :show_property %> </td> <td class="actions"> <span class="d-flex justify-content-end"> <% if f.object.persisted? && can?(:destroy, f.object) %> <%= link_to_delete f.object, no_text: true %> <% else %> <span class="btn btn-danger btn-sm icon-link disabled" style="opacity:0.2;"> <%= svg_icon name: "delete.svg", width: '14', height: '14' %> </span> <% end %> </span> </td> </tr>
Version data entries
4 entries across 4 versions & 1 rubygems