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-3.0.4 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.1.4 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.12 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.0.3 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.1.3 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.1.2 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.1.1 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.1.0 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.11 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.0.2 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.10 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.0.1 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.0.0 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.9 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.8 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.7 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.6 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-3.0.0.rc2 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.5 app/views/spree/admin/product_properties/_product_property_fields.html.erb
solidus_backend-2.11.4 app/views/spree/admin/product_properties/_product_property_fields.html.erb