Skip to content

Commit

Permalink
fix error message missing
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Aug 1, 2023
1 parent cd3a37c commit eb99bf6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,17 @@ class="login-form bg-white p-6 mx-auto border fg-black win-shadow"
<h2 class="text-medium m-0 pl-7" style="line-height: 52px">Deming</h2>
<div class="mb-4">{{ trans("cruds.login.connection") }}</div>
<div class="form-group">
<input type="text" data-role="input" class="form-control @error('login') is-invalid @enderror" data-prepend="<span class='mif-user'></span>" name="login" value="{{ old('login') }}" id="login" required>
<input type="text" data-role="input" class="form-control @error('login') is-invalid @enderror @error('email') is-invalid @enderror" data-prepend="<span class='mif-user'></span>" name="login" value="{{ old('login') }}" id="login" required>
@error('login')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
<div class="form-group">
<input type="password" data-role="input" class="form-control @error('password') is-invalid @enderror" data-prepend="<span class='mif-lock'></span>" name="password" value="{{ old('password') }}" required>
Expand Down

0 comments on commit eb99bf6

Please sign in to comment.