Moving alert box to top of section

This commit is contained in:
Rob Harrington
2014-11-12 15:55:48 +11:00
parent 7a719952fc
commit 7282c7174f

View File

@@ -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