-if @enterprise.pending_any_confirmation? .alert-box - email = @enterprise.confirmed? ? @enterprise.unconfirmed_email : @enterprise.email Email confirmation is pending. We've sent a confirmation email to %strong= "#{email}." = link_to('Resend', main_app.enterprise_confirmation_path(enterprise: { id: @enterprise.id, email: 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 %span.required * .omega.eight.columns = f.text_field :email, { placeholder: "eg. gustav@truffles.com", "ng-model" => "Enterprise.email" } .row{ ng: { hide: "pristineEmail == null || pristineEmail == Enterprise.email"} } .alpha.three.columns   .omega.eight.columns Note: A new email address may need to be confirmed prior to use .row .alpha.three.columns = f.label :phone .omega.eight.columns = f.text_field :phone, { placeholder: "eg. 98 7654 3210"} .row .alpha.three.columns = f.label :website .omega.eight.columns = f.text_field :website, { placeholder: "eg. www.truffles.com"}