mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
-# redo denoting required fields in the whole project
|
|
.row
|
|
= t(:required_fields)
|
|
(
|
|
%span.required *
|
|
)
|
|
.row
|
|
.three.columns.alpha
|
|
= af.label :address1, t(:address)
|
|
%span.required *
|
|
.eight.columns.omega
|
|
= af.text_field :address1, { placeholder: t(:address_placeholder) }
|
|
.row
|
|
.alpha.three.columns
|
|
= af.label :address2, t(:address2)
|
|
.eight.columns.omega
|
|
= af.text_field :address2
|
|
.row
|
|
.three.columns.alpha
|
|
= af.label :city, t(:city)
|
|
\/
|
|
= af.label :zipcode, t(:postcode)
|
|
%span.required *
|
|
.four.columns
|
|
= af.text_field :city, { placeholder: t(:city_placeholder) }
|
|
.four.columns.omega
|
|
= af.text_field :zipcode, { placeholder: t(:postcode_placeholder) }
|
|
.row
|
|
.three.columns.alpha
|
|
= af.label :state_id, t(:state)
|
|
\/
|
|
= af.label :country_id, t(:country)
|
|
%span.required *
|
|
.four.columns
|
|
= af.collection_select :state_id, af.object.country.states, :id, :name, {}, :class => "select2 fullwidth"
|
|
.four.columns.omega
|
|
= af.collection_select :country_id, available_countries, :id, :name, {}, :class => "select2 fullwidth"
|