2017-09-10 21:12:57 +01:00
|
|
|
@extends(Theme::viewName('layout'))
|
2016-09-01 16:23:39 +01:00
|
|
|
|
2016-09-06 14:19:16 +01:00
|
|
|
@section('title', trans('auth.reset_password_title'))
|
2016-09-01 16:23:39 +01:00
|
|
|
@section('content')
|
2017-04-10 20:48:47 +01:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2017-08-30 22:09:30 +01:00
|
|
|
<div class="col-md-8 mr-md-auto ml-md-auto">
|
2017-04-10 20:48:47 +01:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">
|
|
|
|
<ul class="nav nav-tabs card-header-tabs">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link active" href="{{ url('/password/reset') }}">@yield('title')</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-08-31 17:20:58 +01:00
|
|
|
<div class="card-body">
|
|
|
|
<form role="form" method="POST" action="{{ url('/password/reset') }}">
|
2017-04-10 20:48:47 +01:00
|
|
|
{{ csrf_field() }}
|
2016-09-01 16:23:39 +01:00
|
|
|
|
2017-04-10 20:48:47 +01:00
|
|
|
<input type="hidden" name="token" value="{{ $token }}">
|
2016-09-01 16:23:39 +01:00
|
|
|
|
2019-07-14 14:24:34 +01:00
|
|
|
<div class="form-group row">
|
2017-04-10 20:48:47 +01:00
|
|
|
<label for="email" class="col-md-4 col-form-label text-md-right">@lang('forms.email_label')</label>
|
2016-09-01 16:23:39 +01:00
|
|
|
|
2017-04-10 20:48:47 +01:00
|
|
|
<div class="col-md-6">
|
2020-04-18 17:45:40 +01:00
|
|
|
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ $email ?? old('email') }}" autofocus>
|
2016-09-01 16:23:39 +01:00
|
|
|
|
2017-04-10 20:48:47 +01:00
|
|
|
@if ($errors->has('email'))
|
2019-07-14 14:24:34 +01:00
|
|
|
<div class="invalid-feedback">
|
2017-04-10 20:48:47 +01:00
|
|
|
<strong>{{ $errors->first('email') }}</strong>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
</div>
|
2016-09-01 16:23:39 +01:00
|
|
|
</div>
|
|
|
|
|
2019-07-14 14:24:34 +01:00
|
|
|
<div class="form-group row">
|
2017-04-10 20:48:47 +01:00
|
|
|
<label for="password" class="col-md-4 col-form-label text-md-right">@lang('forms.password_label')</label>
|
2016-09-01 16:23:39 +01:00
|
|
|
|
2017-04-10 20:48:47 +01:00
|
|
|
<div class="col-md-6">
|
2019-07-14 14:24:34 +01:00
|
|
|
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password">
|
2016-09-01 16:23:39 +01:00
|
|
|
|
2017-04-10 20:48:47 +01:00
|
|
|
@if ($errors->has('password'))
|
2019-07-14 14:24:34 +01:00
|
|
|
<div class="invalid-feedback">
|
2017-04-10 20:48:47 +01:00
|
|
|
<strong>{{ $errors->first('password') }}</strong>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
</div>
|
2016-09-01 16:23:39 +01:00
|
|
|
</div>
|
|
|
|
|
2019-07-14 14:24:34 +01:00
|
|
|
<div class="form-group row">
|
2017-04-10 20:48:47 +01:00
|
|
|
<label for="password-confirm" class="col-md-4 col-form-label text-md-right">@lang('forms.password_confirm_label')</label>
|
|
|
|
<div class="col-md-6">
|
2019-07-14 14:24:34 +01:00
|
|
|
<input id="password-confirm" type="password" class="form-control{{ $errors->has('password_confirmation') ? ' is-invalid' : '' }}" name="password_confirmation">
|
2016-09-01 16:23:39 +01:00
|
|
|
|
2017-04-10 20:48:47 +01:00
|
|
|
@if ($errors->has('password_confirmation'))
|
2019-07-14 14:24:34 +01:00
|
|
|
<div class="invalid-feedback">
|
2017-04-10 20:48:47 +01:00
|
|
|
<strong>{{ $errors->first('password_confirmation') }}</strong>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
</div>
|
2016-09-01 16:23:39 +01:00
|
|
|
</div>
|
|
|
|
|
2017-04-10 20:48:47 +01:00
|
|
|
<div class="form-group row">
|
2017-08-30 22:09:30 +01:00
|
|
|
<div class="col-md-4"><!-- --></div>
|
|
|
|
<div class="col-md-6 text-right">
|
2017-04-10 20:48:47 +01:00
|
|
|
<a href="{{ url('/login') }}" class="btn btn-link">@lang('forms.cancel_action')</a>
|
|
|
|
<button type="submit" class="btn btn-success">
|
|
|
|
<i class="fa fa-fw fa-check"></i> @lang('auth.reset_password_action')
|
|
|
|
</button>
|
|
|
|
</div>
|
2016-09-01 16:23:39 +01:00
|
|
|
</div>
|
2017-04-10 20:48:47 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
2016-09-01 16:23:39 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|