Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Show forgot password dialog at all times. Highlight on error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Cryer committed Mar 5, 2019
1 parent 8432261 commit 5a8e6b7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resources/views/layouts/login/_form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,4 @@
@endcomponent
@endcomponent

@if($errors->count())
<div class="alert alert-danger"><strong>Forgotten your password?</strong> <a href="{{ route('password.request') }}">Reset it here</a>.</div>
@endif
<div class="alert alert-{{ $errors->count() ? 'danger' : 'default' }}" style="box-shadow: none;"><strong>Forgotten your password?</strong> <a href="{{ route('password.request') }}">Reset it here</a>.</div>

0 comments on commit 5a8e6b7

Please sign in to comment.