-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Met en forme la page de réinitialisation de mot de passe
- Loading branch information
1 parent
74bf663
commit 0224166
Showing
2 changed files
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<% content_for :titre do %> | ||
<%= t('active_admin.devise.reset_password.title') -%> | ||
<% end %> | ||
|
||
<div id="login"> | ||
<%= render partial: "active_admin/devise/shared/error_messages", resource: resource %> | ||
<%= active_admin_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| | ||
f.inputs do | ||
f.input :email | ||
end | ||
f.actions do | ||
f.action :submit, label: t('active_admin.devise.reset_password.submit'), button_html: { value: t('active_admin.devise.reset_password.submit') } | ||
end | ||
end %> | ||
|
||
<div class='liens-partages'> | ||
<%= render partial: "active_admin/devise/shared/links" %> | ||
</div> | ||
</div> |