Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions priv/templates/phx.gen.auth/login_live.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web
field={f[:email]}
type="email"
label="Email"
autocomplete="username"
autocomplete="email"
required
phx-mounted={JS.focus()}
/>
Expand All @@ -71,7 +71,7 @@ defmodule <%= inspect context.web_module %>.<%= inspect Module.concat(schema.web
field={f[:email]}
type="email"
label="Email"
autocomplete="username"
autocomplete="email"
required
/>
<.input
Expand Down
2 changes: 1 addition & 1 deletion priv/templates/phx.gen.auth/registration_new.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
field={f[:email]}
type="email"
label="Email"
autocomplete="username"
autocomplete="email"
required
phx-mounted={JS.focus()}
/>
Expand Down
4 changes: 2 additions & 2 deletions priv/templates/phx.gen.auth/session_new.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
field={f[:email]}
type="email"
label="Email"
autocomplete="username"
autocomplete="email"
required
phx-mounted={JS.focus()}
/>
Expand All @@ -50,7 +50,7 @@
field={f[:email]}
type="email"
label="Email"
autocomplete="username"
autocomplete="email"
required
/>
<.input
Expand Down
2 changes: 1 addition & 1 deletion priv/templates/phx.gen.auth/settings_edit.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<.form :let={f} for={@email_changeset} action={~p"<%= schema.route_prefix %>/settings"} id="update_email">
<input type="hidden" name="action" value="update_email" />

<.input field={f[:email]} type="email" label="Email" autocomplete="username" required />
<.input field={f[:email]} type="email" label="Email" autocomplete="email" required />

<.button variant="primary" phx-disable-with="Changing...">Change Email</.button>
</.form>
Expand Down
Loading