fix devise templates

This commit is contained in:
2022-12-21 18:04:09 +02:00
parent d6606f05bb
commit cdb1637bb0
9 changed files with 52 additions and 79 deletions

View File

@ -1,13 +1,10 @@
.flex.justify-center
.w-full.max-w-xs
%h1.font-hairline.mb-6.text-center Forgot your password?
= form_for(resource, |
as: resource_name, |
url: main_app.password_path(resource_name), |
html: { |
method: :post, |
class: "bg-white mb-4 px-8 pt-6 pb-8 rounded shadow-md" |
}) do |f| |
= form_for(resource, as: resource_name,
html: { method: :post,
class: "bg-white mb-4 px-8 pt-6 pb-8 rounded shadow-md" } ,
url: password_path(resource_name) ) do |f|
= render "devise/shared/error_messages", resource: resource
.mb-4
= f.label :email, class: "block font-bold mb-2 text-gray-700 text-sm"