2017-02-16 04:00:13 +01:00
|
|
|
@extends('login')
|
|
|
|
|
|
|
|
@section('form')
|
2017-11-14 09:58:08 +01:00
|
|
|
@include('partials.warn_session', ['redirectTo' => '/client/session_expired'])
|
2017-02-16 04:00:13 +01:00
|
|
|
<div class="container">
|
|
|
|
{!! Former::open('client/recover_password')->addClass('form-signin') !!}
|
|
|
|
|
|
|
|
<h2 class="form-signin-heading">{{ trans('texts.password_recovery') }}</h2>
|
|
|
|
<hr class="green">
|
|
|
|
|
|
|
|
@if (count($errors->all()))
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
@foreach ($errors->all() as $error)
|
|
|
|
<li>{{ $error }}</li>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
2016-03-06 00:09:50 +01:00
|
|
|
@endif
|
2016-03-05 04:22:54 +01:00
|
|
|
|
2017-02-16 04:00:13 +01:00
|
|
|
@if (session('status'))
|
|
|
|
<div class="alert alert-info">
|
|
|
|
{{ session('status') }}
|
|
|
|
</div>
|
|
|
|
@endif
|
2016-03-05 04:22:54 +01:00
|
|
|
|
2017-02-16 04:00:13 +01:00
|
|
|
<!-- if there are login errors, show them here -->
|
|
|
|
@if (Session::has('warning'))
|
|
|
|
<div class="alert alert-warning">{{ Session::get('warning') }}</div>
|
|
|
|
@endif
|
2016-03-05 04:22:54 +01:00
|
|
|
|
2017-02-16 04:00:13 +01:00
|
|
|
@if (Session::has('message'))
|
|
|
|
<div class="alert alert-info">{{ Session::get('message') }}</div>
|
|
|
|
@endif
|
2016-03-05 04:22:54 +01:00
|
|
|
|
2017-02-16 04:00:13 +01:00
|
|
|
@if (Session::has('error'))
|
|
|
|
<div class="alert alert-danger">{{ Session::get('error') }}</div>
|
|
|
|
@endif
|
2016-03-05 04:22:54 +01:00
|
|
|
|
2017-02-16 04:00:13 +01:00
|
|
|
{!! Button::success(trans('texts.send_email'))
|
|
|
|
->withAttributes(['class' => 'green'])
|
|
|
|
->large()->submit()->block() !!}
|
2016-03-05 04:22:54 +01:00
|
|
|
|
2017-02-16 04:00:13 +01:00
|
|
|
{!! Former::close() !!}
|
|
|
|
</div>
|
2017-11-01 20:22:29 +01:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
|
|
|
$('.form-signin').submit(function() {
|
|
|
|
$('button.btn-success').prop('disabled', true);
|
|
|
|
});
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
|
|
|
|
@endsection
|