From 4884734ab5bbe10c23d93437b04df0009b2f0e09 Mon Sep 17 00:00:00 2001 From: summerscope Date: Fri, 17 Oct 2014 10:43:19 +1100 Subject: [PATCH] Align Continue buttons right consistently --- .../javascripts/templates/registration/about.html.haml | 4 +++- .../javascripts/templates/registration/contact.html.haml | 3 +-- .../javascripts/templates/registration/images.html.haml | 5 ++--- .../javascripts/templates/registration/social.html.haml | 3 +-- app/assets/javascripts/templates/registration/type.html.haml | 5 ++--- 5 files changed, 9 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/templates/registration/about.html.haml b/app/assets/javascripts/templates/registration/about.html.haml index 160a2012d3..64ed3df0c1 100644 --- a/app/assets/javascripts/templates/registration/about.html.haml +++ b/app/assets/javascripts/templates/registration/about.html.haml @@ -40,6 +40,8 @@ .small-12.columns %label{ for: 'enterprise_acn' } ACN: %input.chunky.small-12.columns{ id: 'enterprise_acn', placeholder: "eg. 123 456 789", ng: { model: 'enterprise.acn' } } + .row.buttons.pad-top .small-12.columns - %input.button.primary{ type: "submit", value: "Continue" } + %input.button.primary.right{ type: "submit", value: "Continue" } + diff --git a/app/assets/javascripts/templates/registration/contact.html.haml b/app/assets/javascripts/templates/registration/contact.html.haml index fdb606da25..b87073431e 100644 --- a/app/assets/javascripts/templates/registration/contact.html.haml +++ b/app/assets/javascripts/templates/registration/contact.html.haml @@ -46,5 +46,4 @@ .row.buttons .small-12.columns %input.button.secondary{ type: "button", value: "Back", ng: { click: "select('details')" } } -   - %input.button.primary{ type: "submit", value: "Continue" } + %input.button.primary.right{ type: "submit", value: "Continue" } diff --git a/app/assets/javascripts/templates/registration/images.html.haml b/app/assets/javascripts/templates/registration/images.html.haml index b2a5dcfd08..3c0615a216 100644 --- a/app/assets/javascripts/templates/registration/images.html.haml +++ b/app/assets/javascripts/templates/registration/images.html.haml @@ -18,6 +18,5 @@ .row.buttons.pad-top{ ng: { if: "imageStep == 'promo'" } } .small-12.columns - %input.button.primary{ type: "button", value: "Back", ng: { click: "imageSelect('logo')" } } -   - %input.button.primary{ type: "submit", value: "Continue" } + %input.button.secondary{ type: "button", value: "Back", ng: { click: "imageSelect('logo')" } } + %input.button.primary.right{ type: "submit", value: "Continue" } diff --git a/app/assets/javascripts/templates/registration/social.html.haml b/app/assets/javascripts/templates/registration/social.html.haml index 3195b97a29..ba07a28062 100644 --- a/app/assets/javascripts/templates/registration/social.html.haml +++ b/app/assets/javascripts/templates/registration/social.html.haml @@ -35,5 +35,4 @@ .row.buttons .small-12.columns %input.button.secondary{ type: "button", value: "Back", ng: { click: "select('images')" } } -   - %input.button.primary{ type: "submit", value: "Continue" } + %input.button.primary.right{ type: "submit", value: "Continue" } diff --git a/app/assets/javascripts/templates/registration/type.html.haml b/app/assets/javascripts/templates/registration/type.html.haml index 164537d58e..aed5c9c3de 100644 --- a/app/assets/javascripts/templates/registration/type.html.haml +++ b/app/assets/javascripts/templates/registration/type.html.haml @@ -33,9 +33,8 @@ %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. - .row.buttons .small-12.columns %input.button.secondary{ type: "button", value: "Back", ng: { click: "select('contact')" } } -   - %input.button.primary{ type: "submit", value: "Continue" } + %input.button.primary.right{ type: "submit", value: "Continue" } +