+
+ <%= label(f, :password, class: "sr-only") %>
+ <%= password_input(f, :password,
+ required: true,
+ placeholder: gettext("Password"),
+ autocomplete: "current-password",
+ class: "relative w-full border-0 text-zinc-900 rounded appearance-none outline-none focus:outline-none focus:ring-0 sm:text-sm"
+ ) %>
+
+
+
+
+
+
- <%= label(f, :password_confirmation, class: "sr-only") %>
- <%= password_input(f, :password_confirmation,
- required: true,
- placeholder: gettext("Confirm password"),
- autocomplete: "current-password",
- class: "relative w-full border-0 text-zinc-900 rounded appearance-none outline-none focus:outline-none focus:ring-0"
- ) %>
-
-
-
-
-
+
+
+ <%= label(f, :password_confirmation, class: "sr-only") %>
+ <%= password_input(f, :password_confirmation,
+ required: true,
+ placeholder: gettext("Confirm password"),
+ autocomplete: "current-password",
+ class: "relative w-full border-0 text-zinc-900 rounded appearance-none outline-none focus:outline-none focus:ring-0 sm:text-sm"
+ ) %>
+
+
+
+
+
+
<%= error_tag(f, :password_confirmation) %>
diff --git a/lib/atomic_web/templates/user_session/new.html.heex b/lib/atomic_web/templates/user_session/new.html.heex
index 7349e2c40..a3d7e755d 100644
--- a/lib/atomic_web/templates/user_session/new.html.heex
+++ b/lib/atomic_web/templates/user_session/new.html.heex
@@ -23,19 +23,19 @@
class: "relative w-96 appearance-none rounded border border-zinc-300 text-zinc-900 placeholder-zinc-500 focus:z-10 focus:border-orange-400 focus:ring-orange-400 focus:outline-none sm:text-sm"
) %>
-
+
<%= label(f, :password, class: "sr-only") %>
<%= password_input(f, :password,
required: true,
placeholder: gettext("Password"),
autocomplete: "current-password",
- class: "relative w-full border-0 text-zinc-900 rounded appearance-none outline-none focus:ring-0"
+ class: "relative w-full border-0 text-zinc-900 rounded appearance-none outline-none focus:ring-0 sm:text-sm"
) %>
-
+
-
+