79 lines
4.1 KiB
PHP
79 lines
4.1 KiB
PHP
@extends(Theme::viewName('layout'))
|
|
|
|
@section('title', trans('auth.reset_password_title'))
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-8 mr-md-auto ml-md-auto">
|
|
<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>
|
|
<div class="card-body">
|
|
<form role="form" method="POST" action="{{ url('/password/reset') }}">
|
|
{{ csrf_field() }}
|
|
|
|
<input type="hidden" name="token" value="{{ $token }}">
|
|
|
|
<div class="form-group row">
|
|
<label for="email" class="col-md-4 col-form-label text-md-right">@lang('forms.email_label')</label>
|
|
|
|
<div class="col-md-6">
|
|
<input id="email" type="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ $email ?? old('email') }}" autofocus>
|
|
|
|
@if ($errors->has('email'))
|
|
<div class="invalid-feedback">
|
|
<strong>{{ $errors->first('email') }}</strong>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
<label for="password" class="col-md-4 col-form-label text-md-right">@lang('forms.password_label')</label>
|
|
|
|
<div class="col-md-6">
|
|
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password">
|
|
|
|
@if ($errors->has('password'))
|
|
<div class="invalid-feedback">
|
|
<strong>{{ $errors->first('password') }}</strong>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
<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">
|
|
<input id="password-confirm" type="password" class="form-control{{ $errors->has('password_confirmation') ? ' is-invalid' : '' }}" name="password_confirmation">
|
|
|
|
@if ($errors->has('password_confirmation'))
|
|
<div class="invalid-feedback">
|
|
<strong>{{ $errors->first('password_confirmation') }}</strong>
|
|
</div>
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
<div class="col-md-4"><!-- --></div>
|
|
<div class="col-md-6 text-right">
|
|
<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>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|