Skip to content

Commit

Permalink
change type of input to email
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonfagan committed Nov 27, 2024
1 parent 69a7747 commit d3ae8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/lib/shifts/ShiftsView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<form class="flex flex-grow gap-2" method="POST" action="?/authenticate">
<label class="input input-bordered flex flex-grow items-center gap-3 shadow">
<span class="ph ph-envelope text-xl"></span>
<input bind:value={localEmail} class="grow" type="text" name="email" placeholder="Enter your email to sign in">
<input bind:value={localEmail} class="grow" type="email" name="email" placeholder="Enter your email to sign in">
</label>
<button class="btn btn-accent lg:self-center shadow font-display" type="submit" class:btn-disabled={!localEmail}>
Sign in
Expand Down

0 comments on commit d3ae8f4

Please sign in to comment.