Show validation errors on Reset Password page

This commit is contained in:
Burak Çakırel 2021-06-18 13:26:25 +03:00
parent 4f44414450
commit edb1075aad
No known key found for this signature in database
GPG Key ID: 48FFBB7771B99C7C

View File

@ -5,6 +5,8 @@
@section('message', trans('auth.reset_password'))
@section('content')
<div role="alert" class="alert alert-danger d-none" :class="(form.response.error) ? 'show' : ''" v-if="form.response.error" v-html="form.response.message"></div>
{!! Form::open([
'route' => 'reset.store',
'id' => 'reset',
@ -39,3 +41,7 @@
</div>
{!! Form::close() !!}
@endsection
@push('scripts_start')
<script src="{{ asset('public/js/auth/reset.js?v=' . version('short')) }}"></script>
@endpush