mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-12 23:27:48 +00:00
43 lines
3.1 KiB
Plaintext
43 lines
3.1 KiB
Plaintext
.container#registration-details{bindonce: true}
|
|
.header
|
|
%h2 Let's Get Started
|
|
%h5{ bo: { if: "enterprise.type != 'single'" } } Woot! First we need to know what sort of enterprise you are:
|
|
%h5{ bo: { if: "enterprise.type == 'single'" } } Woot! First we need to know the name of your farm:
|
|
%ng-include{ src: "'registration/steps.html'" }
|
|
%form{ name: 'details', novalidate: true, ng: { controller: "RegistrationFormCtrl", submit: "selectIfValid('address',details)" } }
|
|
.row
|
|
.small-12.columns.field
|
|
%label{ for: 'enterprise_name', bo: { if: "enterprise.type != 'single'" } } Enterprise Name:
|
|
%label{ for: 'enterprise_name', bo: { if: "enterprise.type == 'single'" } } Farm Name:
|
|
%input.chunky.small-12.columns{ id: 'enterprise_name', name: 'name', placeholder: "eg. Charlie's Awesome Farm", required: true, ng: { model: 'enterprise.name' } }
|
|
%span.error.small-12.columns{ ng: { show: "details.name.$error.required && submitted" } }
|
|
You need to enter a name for your enterprise!
|
|
|
|
.row#enterprise-types{ 'data-equalizer' => true, bo: { if: "enterprise.type != 'single'" } }
|
|
.small-12.columns.field
|
|
.row
|
|
.small-12.columns
|
|
%label Choose one:
|
|
.row
|
|
.small-12.medium-4.large-4.columns{ 'data-equalizer-watch' => true }
|
|
%a.panel#producer-panel{ href: "#", ng: { click: "enterprise.is_distributor = false; enterprise.is_primary_producer = true", class: "{selected: (!enterprise.is_distributor && enterprise.is_primary_producer)}" } }
|
|
.left
|
|
/ %render-svg{ path: "/assets/map-icon-producer.svg" }
|
|
%h4 I'm A Producer
|
|
%p Producers make yummy things to eat &/or drink. You're a producer if you grow it, raise it, brew it, bake it, ferment it, milk it or mould it.
|
|
.small-12.medium-4.large-4.columns{ 'data-equalizer-watch' => true }
|
|
%a.panel#hub-panel{ href: "#", ng: { click: "enterprise.is_distributor = true; enterprise.is_primary_producer = false", class: "{selected: (enterprise.is_distributor && !enterprise.is_primary_producer)}" } }
|
|
.left
|
|
/ %render-svg{ path: "/assets/map-icon-hub.svg" }
|
|
%h4 I'm A Hub
|
|
%p Hubs connect the producer to the eater. Hubs can be co-ops, independent retailers, buying groups, wholesalers, CSA box schemes, farm-gate stalls, etc.
|
|
.small-12.medium-4.large-4.columns{ 'data-equalizer-watch' => true }
|
|
%a.panel#both-panel{ href: "#", ng: { click: "enterprise.is_distributor = true; enterprise.is_primary_producer = true", class: "{selected: (enterprise.is_distributor && enterprise.is_primary_producer)}" } }
|
|
.left
|
|
/ %render-svg{path: "/assets/map-icon-both.svg"}
|
|
%h4 I'm Both
|
|
%p Hey there, Jack-of-all-trades! Not only do you produce things to eat &/or drink, you also want to sell your yummies through an Open Food Network shopfront.
|
|
.row.buttons
|
|
.small-12.columns
|
|
%input.button.primary.right{ type: "submit", value: "Continue" }
|