mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-29 21:17:17 +00:00
33 lines
2.2 KiB
Plaintext
33 lines
2.2 KiB
Plaintext
%script{ type: "text/ng-template", id: "registration/contact.html" }
|
|
.container#registration-contact
|
|
%ng-include{ src: "'registration/steps.html'" }
|
|
.row
|
|
.small-12.columns
|
|
%header
|
|
%h2 {{'registration_greeting' | t}}
|
|
%h5{ "ng-bind" => "'who_is_managing_enterprise' | t:{enterprise: enterprise.name}" }
|
|
|
|
%form{ name: 'contact', novalidate: true, ng: { controller: "RegistrationFormCtrl", submit: "selectIfValid('type',contact)" } }
|
|
.row.content
|
|
.small-12.medium-12.large-7.columns
|
|
.row
|
|
.small-12.columns.field
|
|
%label{ for: 'enterprise_contact' } {{'enterprise.registration.modal.steps.contact.contact_field' | t}}:
|
|
%input.chunky.small-12.columns{ id: 'enterprise_contact', name: 'contact_name', required: true, placeholder: "{{'enterprise.registration.modal.steps.contact.contact_field_placeholder' | t}}", ng: { model: 'enterprise.contact_name' } }
|
|
%span.error.small-12.columns{ ng: { show: "contact.contact_name.$error.required && submitted" } }
|
|
{{'enterprise.registration.modal.steps.contact.contact_field_required' | t}}
|
|
.row
|
|
.small-12.columns.field
|
|
%label{ for: 'enterprise_email_address' } {{'admin.enterprises.form.contact.email_address' | t}}:
|
|
%input.chunky.small-12.columns{ id: 'enterprise_email_address', name: 'email_address', type: 'email', placeholder: t('admin.enterprises.form.contact.email_address_placeholder'), ng: { model: 'enterprise.email_address' } }
|
|
.row
|
|
.small-12.columns.field
|
|
%label{ for: 'enterprise_phone' } {{'enterprise.registration.modal.steps.contact.phone_field' | t}}:
|
|
%input.chunky.small-12.columns{ id: 'enterprise_phone', name: 'phone', placeholder: "{{'enterprise.registration.modal.steps.contact.phone_field_placeholder' | t}}", ng: { model: 'enterprise.phone' } }
|
|
.small-12.medium-12.large-5.hide-for-small-only
|
|
|
|
.row.buttons
|
|
.small-12.columns
|
|
%input.button.secondary{ type: "button", value: "{{'back' | t}}", ng: { click: "select('details')" } }
|
|
%input.button.primary.right{ type: "submit", value: "{{'continue' | t}}" }
|