move #cta properly under #content
This commit is contained in:
parent
b1e68922a4
commit
a6045df701
|
@ -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 @@
|
||||||
- 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)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#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
|
||||||
|
|
Loading…
Reference in New Issue