Merge in enterprise confirmation

This commit is contained in:
Rob Harrington
2014-10-16 11:52:10 +11:00
17 changed files with 180 additions and 38 deletions

View File

@@ -4,18 +4,20 @@
%header
%h2 Well done!
%h5
You have successfully completed the profile for
That's all of the details we need for
%span.brick{"ng-show" => "enterprise.is_distributor"}
{{ enterprise.name }}
%span.turquoise{"ng-show" => "!enterprise.is_distributor" }
{{ enterprise.name }}
.content{ style: 'text-align: center'}
%h3 Why not check it out on the Open Food Network?
%a.button.primary{ type: "button", href: "/map" } Go to Map Page >
%br
%br
%h3 There's just one last thing we need you to do:
%h5 We've sent a confirmation email to {{ enterprise.email }}, so please follow the instructions there to finalise the creation of your enterprise.
%h3 Next step - add some products:
%a.button.primary{ type: "button", href: "/admin/products/new" } Add a Product >
-# perhaps a pretty picture here?
%br/
%br/
%a.button.primary{ type: "button", href: "/" } Take me home >

View File

@@ -1,13 +1,12 @@
.container#registration-social
%ng-include{ src: "'registration/steps.html'" }
.row
.small-12.columns
%header
%h2 Last step!
%h2 Almost there!
%h5 How can people find {{ enterprise.name }} online?
%form{ name: 'social', novalidate: true, ng: { controller: "RegistrationFormCtrl", submit: "update('finished',social)" } }
.row.content
.small-12.large-7.columns