mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-06 02:51:34 +00:00
Import product_properties/_product_properties_fields.html.erb from Spree to OFN
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<tr class="product_property fields" id="spree_<%= dom_id(f.object) %>" data-hook="product_property">
|
||||
<td class="no-border">
|
||||
<span class="handle"></span>
|
||||
<%= f.hidden_field :id %>
|
||||
</td>
|
||||
<td class='property_name'>
|
||||
<%= f.text_field :property_name, :class => 'autocomplete' %>
|
||||
</td>
|
||||
<td class='value'>
|
||||
<%= f.text_field :value, :class => 'autocomplete' %>
|
||||
</td>
|
||||
<td class="actions">
|
||||
<% if f.object.persisted? %>
|
||||
<%= link_to_delete f.object, :no_text => true %>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
Reference in New Issue
Block a user