From 7282c7174f5cb12cf4900e36d4f38b3f38219eba Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Wed, 12 Nov 2014 15:55:48 +1100 Subject: [PATCH] Moving alert box to top of section --- app/views/admin/enterprises/_form.html.haml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/admin/enterprises/_form.html.haml b/app/views/admin/enterprises/_form.html.haml index 0d0a54e983..ecdd52f06f 100644 --- a/app/views/admin/enterprises/_form.html.haml +++ b/app/views/admin/enterprises/_form.html.haml @@ -110,11 +110,6 @@ = af.collection_select :country_id, available_countries, :id, :name, {}, :class => "select2 fullwidth" %fieldset.eleven.columns.alpha.no-border-bottom %legend Contact Details - .row - .alpha.three.columns - = f.label :contact, 'Name' - .omega.eight.columns - = f.text_field :contact, { placeholder: "eg. Gustav Plum"} -if @enterprise.unconfirmed_email .alert-box Email change is pending. @@ -122,6 +117,11 @@ %strong= "#{@enterprise.unconfirmed_email}." = link_to('Resend', main_app.enterprise_confirmation_path(enterprise: { id: @enterprise.id, email: @enterprise.unconfirmed_email } ), method: :post) %a.close{ href: "#" } × + .row + .alpha.three.columns + = f.label :contact, 'Name' + .omega.eight.columns + = f.text_field :contact, { placeholder: "eg. Gustav Plum"} .row .alpha.three.columns = f.label :email