-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration invitation usager et reset password agent au DSFR
- Loading branch information
1 parent
592d58d
commit d2848f4
Showing
8 changed files
with
24 additions
and
61 deletions.
There are no files selected for viewing
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
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
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
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
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
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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
= form_for resource, as: resource_name, url: password_path(resource_name) do |f| | ||
= form_for resource, as: resource_name, url: password_path(resource_name), builder: DsfrFormBuilder do |f| | ||
.text-center.w-75.m-auto | ||
h4.text-dark-50.text-center.mt-0.font-weight-bold Mot de passe oublié ? | ||
p.text-muted.mb-4 Entrez votre email pour recevoir un lien de réinitialisation de mot de passe | ||
= render "devise/shared/error_messages", resource: resource | ||
.form-group | ||
= f.email_field :email, autofocus: true, required: true, placeholder: "[email protected]", class: "form-control" | ||
.form-group.mb-0.text-center | ||
= f.submit "Envoyer", class: "btn btn btn-primary" | ||
= f.dsfr_email_field :email, label: "Adresse email", hint: "Format attendu : [email protected]", required: true, autofocus: true | ||
.text-center | ||
= f.submit "Envoyer", class: "fr-btn" | ||
|
||
- content_for :footer do | ||
= render "devise/shared/links" |
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