improve email
This commit is contained in:
parent
6743709372
commit
bb5ed6da77
@ -1,4 +1,14 @@
|
|||||||
%p
|
%p
|
||||||
Welcome #{@email}!
|
Welcome #{@resource.name}!
|
||||||
%p You can confirm your account email through the link below:
|
|
||||||
|
%p You can confirm your stay through the link below:
|
||||||
%p= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token)
|
%p= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token)
|
||||||
|
|
||||||
|
Remember you can change the dates later, under the Settings.
|
||||||
|
|
||||||
|
You can also set a profile and picture to tell others about yourself.
|
||||||
|
And once at the Hub, you can add pictures and stories to share with others.
|
||||||
|
|
||||||
|
Looking forward to seeing you in person
|
||||||
|
|
||||||
|
The hub team
|
||||||
|
@ -1,10 +1,15 @@
|
|||||||
.flex.justify-center
|
.flex.justify-center
|
||||||
.w-full.max-w-xs.md:max-w-md
|
.w-full.max-w-xs.md:max-w-md
|
||||||
%h1.font-hairline.mb-6.text-center.text-2xl Sign Up
|
%h1.font-hairline.mb-6.text-center.text-2xl Confirm your stay
|
||||||
= form_for(resource, as: resource_name,
|
= form_for(resource, as: resource_name,
|
||||||
html: { class: "bg-white mb-4 px-8 pt-6 pb-8 rounded shadow-md" } ,
|
html: { class: "bg-white mb-4 px-8 pt-6 pb-8 rounded shadow-md" } ,
|
||||||
url: registration_path(resource_name) ) do |f|
|
url: registration_path(resource_name) ) do |f|
|
||||||
= render "devise/shared/error_messages", resource: resource
|
= render "devise/shared/error_messages", resource: resource
|
||||||
|
.mb-4
|
||||||
|
Please read the
|
||||||
|
= link_to "house rules" , "/house_rules" , class: "underline"
|
||||||
|
if you haven't yet, and let us know of
|
||||||
|
any alergies (food?) or medical conditions (ADHD?) beforehand.
|
||||||
.mb-4
|
.mb-4
|
||||||
= f.label :name, class: "block font-bold mb-2 text-gray-700 text-sm"
|
= f.label :name, class: "block font-bold mb-2 text-gray-700 text-sm"
|
||||||
= f.input :name,
|
= f.input :name,
|
||||||
@ -47,5 +52,8 @@
|
|||||||
.my-4
|
.my-4
|
||||||
= f.submit "Sign Up",
|
= f.submit "Sign Up",
|
||||||
class: "button bg-cyan-700 hover:bg-cyan-700 font-bold text-white focus:outline-none py-2 px-4 rounded focus:shadow-outline w-full"
|
class: "button bg-cyan-700 hover:bg-cyan-700 font-bold text-white focus:outline-none py-2 px-4 rounded focus:shadow-outline w-full"
|
||||||
|
%p
|
||||||
|
After submitting you will receive a confirmation email.
|
||||||
|
Your place will be ensured once you have confirmed your email.
|
||||||
= render "devise/shared/links"
|
= render "devise/shared/links"
|
||||||
= render "devise/shared/form_footer"
|
= render "devise/shared/form_footer"
|
||||||
|
Loading…
Reference in New Issue
Block a user