From bfe600b96c8b6f4a8a95632db1e23a4dd9fc1bcd Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Sun, 7 Jan 2024 12:32:56 -0500 Subject: [PATCH] fix: password form field classes Fixes #304 --- lib/generators/tailwindcss/scaffold/templates/_form.html.erb.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generators/tailwindcss/scaffold/templates/_form.html.erb.tt b/lib/generators/tailwindcss/scaffold/templates/_form.html.erb.tt index ed1a4e1c..adbd5b7e 100644 --- a/lib/generators/tailwindcss/scaffold/templates/_form.html.erb.tt +++ b/lib/generators/tailwindcss/scaffold/templates/_form.html.erb.tt @@ -15,7 +15,7 @@
<% if attribute.password_digest? -%> <%%= form.label :password %> - <%%= form.password_field :password %> + <%%= form.password_field :password, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>