Commit a6045df7 authored by Brett Walker's avatar Brett Walker

move #cta properly under #content

parent b1e68922
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
#content #content
= email_default_heading(@resource.unconfirmed_email) = email_default_heading(@resource.unconfirmed_email)
%p Click the link below to confirm your email address. %p Click the link below to confirm your email address.
#cta #cta
= link_to 'Confirm your email address', confirmation_url(@resource, confirmation_token: @token) = link_to 'Confirm your email address', confirmation_url(@resource, confirmation_token: @token)
- else - else
#content #content
- if Gitlab.com? - if Gitlab.com?
...@@ -11,5 +11,5 @@ ...@@ -11,5 +11,5 @@
- else - else
= email_default_heading("Welcome, #{@resource.name}!") = email_default_heading("Welcome, #{@resource.name}!")
%p To get started, click the link below to confirm your account. %p To get started, click the link below to confirm your account.
#cta #cta
= link_to 'Confirm your account', confirmation_url(@resource, confirmation_token: @token) = link_to 'Confirm your account', confirmation_url(@resource, confirmation_token: @token)
#content #content
= email_default_heading("#{@resource.user.name}, you've added an additional email!") = email_default_heading("#{@resource.user.name}, you've added an additional email!")
%p Click the link below to confirm your email address (#{@resource.email}) %p Click the link below to confirm your email address (#{@resource.email})
#cta #cta
= link_to 'Confirm your email address', confirmation_url(@resource, confirmation_token: @token) = link_to 'Confirm your email address', confirmation_url(@resource, confirmation_token: @token)
%p %p
If this email was added in error, you can remove it here: If this email was added in error, you can remove it here:
= link_to "Emails", profile_emails_url = link_to "Emails", profile_emails_url
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment