78 lines
4.1 KiB
PHP
78 lines
4.1 KiB
PHP
@extends('tablar::auth.layout')
|
|
|
|
@section('content')
|
|
<div class="page-single">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col col-login mx-auto">
|
|
<div class="text-center mb-1 mt-5">
|
|
<a href="" class="navbar-brand navbar-brand-autodark">
|
|
<img src="{{asset(config('tablar.auth_logo.img.path','assets/logo.svg'))}}" height="36"
|
|
alt=""></a>
|
|
</div>
|
|
<form class="card" method="POST" action="{{ route('password.request') }}">
|
|
@csrf
|
|
<input type="hidden" name="token" value="{{ $token }}">
|
|
|
|
<div class="card-body p-6">
|
|
<div class="card-title">@lang('Reset password')</div>
|
|
|
|
<p class="text-muted">@lang('Enter your email address and your password will be reset and emailed to you.')</p>
|
|
<div class="form-group">
|
|
<label class="form-label" for="exampleInputEmail1">@lang('Email address')</label>
|
|
<input
|
|
type="email"
|
|
class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}"
|
|
id="email"
|
|
name="email"
|
|
aria-describedby="emailHelp"
|
|
placeholder="Enter email"
|
|
value="{{ $email ?? old('email') }}"
|
|
required
|
|
autofocus>
|
|
@if ($errors->has('email'))
|
|
<span class="invalid-feedback">
|
|
<strong>{{ $errors->first('email') }}</strong>
|
|
</span>
|
|
@endif
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label">@lang('Password')</label>
|
|
<input
|
|
type="password"
|
|
class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}"
|
|
placeholder="Password"
|
|
name="password"
|
|
required>
|
|
@if ($errors->has('password'))
|
|
<span class="invalid-feedback">
|
|
<strong>{{ $errors->first('password') }}</strong>
|
|
</span>
|
|
@endif
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="form-label" for="password-confirm">@lang('Confirm Password')</label>
|
|
<input
|
|
type="password"
|
|
class="form-control{{ $errors->has('password_confirmation') ? ' is-invalid' : '' }}"
|
|
placeholder="Confirm Password"
|
|
name="password_confirmation"
|
|
id="password-confirm">
|
|
@if ($errors->has('password_confirmation'))
|
|
<span class="invalid-feedback">
|
|
<strong>{{ $errors->first('password_confirmation') }}</strong>
|
|
</span>
|
|
@endif
|
|
</div>
|
|
<div class="form-footer">
|
|
<button type="submit" class="btn btn-primary btn-block">@lang('Reset Password')</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|