Sha256: 0f5263a6fea753cc4d903bfbfc10c35c85cf16ae912e475f373b69f96258c463

Contents?: true

Size: 806 Bytes

Versions: 84

Compression:

Stored size: 806 Bytes

Contents

<tr class="product_property fields" id="spree_<%= dom_id(f.object) %>" data-hook="product_property">
  <td>
    <% if f.object.persisted? && can?(:update_positions, f.object) %>
      <span class="handle"></span>
      <%= f.hidden_field :id %>
    <% end %>
  </td>
  <td class='property_name'>
    <%= f.text_field :property_name, list: 'properties' %>
  </td>
  <td class='value'>
    <%= f.text_field :value %>
  </td>
  <td class="actions">
    <% if f.object.persisted? %>
      <% if can?(:destroy, f.object) %>
        <%= link_to_delete f.object, no_text: true %>
      <% end %>
    <% else %>
      <%= link_to_with_icon('trash', 'remove', '#', no_text: true, class: "spree_remove_fields",
            data: { action: 'remove' }, title: t('spree.actions.remove')) %>
    <% end %>
  </td>
</tr>

Version data entries

84 entries across 84 versions & 1 rubygems

Version Path
solidus_backend-2.11.3 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.2 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.1 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.0 app/views/spree/admin/product_properties/_product_property_fields.html.erb