-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(password): update the password recovery page (#48)
- Loading branch information
1 parent
cb92fea
commit acd4268
Showing
2 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.columns.is-centered | ||
.column.is-one-third | ||
h2.title.is-4.has-text-centered Forgot your password? | ||
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| | ||
= render "devise/shared/error_messages", resource: resource | ||
.field | ||
= f.email_field :email, autofocus: true, autocomplete: "email", placeholder: "email" | ||
br | ||
.actions | ||
div.is-fullwidth | ||
= f.submit 'Send me reset password instructions', class: "button is-info is-fullwidth" | ||
br | ||
.columns | ||
.column.is-one-quarters | ||
= link_to t(".sign_in"), new_session_path(resource_name) | ||
.column.is-flex.is-justify-content-flex-end | ||
= link_to t(".sign_up"), new_registration_path(resource_name) |