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-4.4.1 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.4.0 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.3.4 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.2.4 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.1.5 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.3.3 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.3.2 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.1.4 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.3.1 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.3.0 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.2.3 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.1.3 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.0.4 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.4.6 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.0.3 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.1.2 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.2.2 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.4.5 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.2.1 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-4.2.0 app/views/spree/admin/product_properties/_product_property_fields.html.erb