mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Added placeholders
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
.label-block.left.six.columns.alpha{'ng-app' => 'admin.products'}
|
||||
.field
|
||||
= f.label :display_name, t('.display_name')
|
||||
= f.text_field :display_name, class: "fullwidth"
|
||||
= f.text_field :display_name, class: "fullwidth", placeholder: t('admin.products.display_name_placeholder')
|
||||
.field
|
||||
= f.label :display_as, t('.display_as')
|
||||
= f.text_field :display_as, class: "fullwidth"
|
||||
= f.text_field :display_as, class: "fullwidth", placeholder: t('admin.products.display_as_placeholder')
|
||||
|
||||
- if product_has_variant_unit_option_type?(@product)
|
||||
- if @product.variant_unit != 'items'
|
||||
|
||||
@@ -476,6 +476,8 @@ en:
|
||||
|
||||
products:
|
||||
unit_name_placeholder: 'eg. bunches'
|
||||
display_as_placeholder: 'eg. 2 kg'
|
||||
display_name_placeholder: 'eg. Tomatoes'
|
||||
index:
|
||||
unit: Unit
|
||||
display_as: Display As
|
||||
|
||||
Reference in New Issue
Block a user