Sha256: 3b6a932638182dccd03e4402b3a62535ec5757ccc898c4fb6fd0ceb0d5a5f792
Contents?: true
Size: 1.16 KB
Versions: 8
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: '18', height: '18' %> <%= f.hidden_field :id %> </td> <% else %> <td style="opacity:0.2;"> <%= svg_icon name: "grip-vertical.svg", width: '18', height: '18' %> <%= 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: '18', height: '18' %> </span> <% end %> </span> </td> </tr>
Version data entries
8 entries across 8 versions & 1 rubygems