mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
52 lines
2.8 KiB
Plaintext
52 lines
2.8 KiB
Plaintext
.container#registration-address
|
|
.header
|
|
%h2
|
|
Hi there,
|
|
%span.brick{"ng-show" => "enterprise.is_distributor"}
|
|
{{ enterprise.name }}
|
|
%span.turquoise{"ng-show" => "!enterprise.is_distributor" }
|
|
{{ enterprise.name }}
|
|
|
|
%h5 Now we need to know where you are:
|
|
%ng-include{ src: "'registration/steps.html'" }
|
|
%form
|
|
.row.content
|
|
.small-12.medium-12.large-7.columns
|
|
.row
|
|
.small-12.columns
|
|
%label{ for: 'enterprise_address' } Address:
|
|
%input.chunky.small-12.columns{ id: 'enterprise_address', placeholder: "eg. 123 Cranberry Drive", ng: { model: 'enterprise.address.address1' } }
|
|
.row
|
|
.small-12.large-8.columns
|
|
%label{ for: 'enterprise_city' } Suburb:
|
|
%input.chunky.small-12.columns{ id: 'enterprise_city', placeholder: "eg. Northcote", ng: { model: 'enterprise.address.city' } }
|
|
.small-12.large-4.columns
|
|
%label{ for: 'enterprise_zipcode' } Postcode:
|
|
%input.chunky.small-12.columns{ id: 'enterprise_zipcode', placeholder: "eg. 3070", ng: { model: 'enterprise.address.zipcode' } }
|
|
.row
|
|
.small-12.large-8.columns
|
|
%label{ for: 'enterprise_country' } Country:
|
|
%select.chunky.small-12.columns{ id: 'enterprise_country', ng: { model: 'enterprise.country', options: 'c as c.name for c in countries' } }
|
|
.small-12.large-4.columns
|
|
%label{ for: 'enterprise_state' } State:
|
|
%select.chunky.small-12.columns{ id: 'enterprise_state', ng: { model: 'enterprise.address.state_id', options: 's.id as s.abbr for s in enterprise.country.states', show: 'countryHasStates()' } }
|
|
.small-12.medium-12.large-5.hide-for-small-only
|
|
// This is the location area
|
|
/ %h6
|
|
/ Location display
|
|
/ %i.ofn-i_013-help.has-tip{ 'data-tooltip' => true, title: "Choose how you want to display your enterprise's address on the Open Food Network. By default, full location is shown everywhere including street name and number."}
|
|
/ .row
|
|
/ .small-12.columns
|
|
/ %label.indent-checkbox
|
|
/ %input{ type: 'checkbox', id: 'enterpise_suburb_only', ng: { model: 'enterprise.suburb_only' } }
|
|
/ Hide my street name and street number from the public (ie. only show the suburb)
|
|
/ .small-12.columns
|
|
/ %label.indent-checkbox
|
|
/ %input{ type: 'checkbox', id: 'enterprise_on_map', ng: { model: 'enterprise.on_map' } }
|
|
/ Blur my location on the map (show an approximate, not exact pin)
|
|
.row.buttons
|
|
.small-12.medium-6.columns
|
|
%input.button.secondary{ type: "button", value: "Back", ng: { click: "select('details')" } }
|
|
.small-12.medium-6.columns
|
|
%input.button.primary.right{ type: "button", value: "Continue", ng: { click: "select('contact')" } }
|