diff --git a/app/assets/stylesheets/admin/pages/_logged_out.scss b/app/assets/stylesheets/admin/pages/_logged_out.scss index 5f34e367e..f4c9195ea 100644 --- a/app/assets/stylesheets/admin/pages/_logged_out.scss +++ b/app/assets/stylesheets/admin/pages/_logged_out.scss @@ -34,6 +34,7 @@ body.logged_out { h1 { font-family: $font-titre; + width: $largeur-colonne; color: $eva_light; font-weight: bold; text-align: center; diff --git a/app/views/active_admin/devise/passwords/new.html.erb b/app/views/active_admin/devise/passwords/new.html.erb new file mode 100644 index 000000000..8c3679f3f --- /dev/null +++ b/app/views/active_admin/devise/passwords/new.html.erb @@ -0,0 +1,19 @@ +<% content_for :titre do %> + <%= t('active_admin.devise.reset_password.title') -%> +<% end %> + +
+ <%= 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 %> + +
+ <%= render partial: "active_admin/devise/shared/links" %> +
+