Skip to content

Commit 6c5ad22

Browse files
authored
Merge pull request #307 from rails/flavorjones-fix-scaffold-password-style
fix: password form field classes
2 parents 08e5442 + bfe600b commit 6c5ad22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/tailwindcss/scaffold/templates/_form.html.erb.tt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="my-5">
1616
<% if attribute.password_digest? -%>
1717
<%%= form.label :password %>
18-
<%%= form.password_field :password %>
18+
<%%= form.password_field :password, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
1919
</div>
2020

2121
<div class="my-5">

0 commit comments

Comments
 (0)