Skip to content

Commit b1167d1

Browse files
add required attributes
1 parent 65a112a commit b1167d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tailwind-stubs/views/auth/login.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
<div class="flex items-stretch mb-3">
1515
<label for="email" class="text-right font-semibold text-grey-dark text-sm pt-2 pr-3 align-middle w-1/4">E-Mail Address</label>
1616
<div class="flex flex-col w-3/4">
17-
<input id="email" type="email" class="flex-grow h-8 px-2 border rounded {{ $errors->has('email') ? 'border-red-dark' : 'border-grey-light' }}" name="email" value="{{ old('email') }}" autofocus>
17+
<input id="email" type="email" class="flex-grow h-8 px-2 border rounded {{ $errors->has('email') ? 'border-red-dark' : 'border-grey-light' }}" name="email" value="{{ old('email') }}" required autofocus>
1818
{!! $errors->first('email', '<span class="text-red-dark text-sm mt-2">:message</span>') !!}
1919
</div>
2020
</div>
2121

2222
<div class="flex items-stretch mb-4">
2323
<label for="password" class="text-right font-semibold text-grey-dark text-sm pt-2 pr-3 align-middle w-1/4">Password</label>
2424
<div class="flex flex-col w-3/4">
25-
<input id="password" type="password" class="flex-grow h-8 px-2 rounded border {{ $errors->has('password') ? 'border-red-dark' : 'border-grey-light' }}" name="password">
25+
<input id="password" type="password" class="flex-grow h-8 px-2 rounded border {{ $errors->has('password') ? 'border-red-dark' : 'border-grey-light' }}" name="password" required>
2626
{!! $errors->first('password', '<span class="text-red-dark text-sm mt-2">:message</span>') !!}
2727
</div>
2828
</div>

0 commit comments

Comments
 (0)