leenooks/resources/themes/adminlte/views/auth/passwords/reset.blade.php

73 lines
2.2 KiB
PHP
Raw Normal View History

2018-08-07 14:14:48 +00:00
@extends('adminlte::layouts.auth')
@section('htmlheader_title')
Password reset
@endsection
@section('content')
2020-01-22 09:48:42 +00:00
<div class="login-box m-auto">
<div class="login-logo">
<a>{!! config('app.name_html_long') !!}</a>
</div>
2018-08-07 14:14:48 +00:00
2020-01-22 09:48:42 +00:00
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> {{ trans('adminlte_lang::message.someproblems') }}<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
2018-08-07 14:14:48 +00:00
2020-01-22 09:48:42 +00:00
<!-- /.login-logo -->
<div class="card">
<div class="card-body login-card-body">
<p class="login-box-msg">You are only one step a way from your new password, set your new password now.</p>
2018-08-07 14:14:48 +00:00
2020-01-22 09:48:42 +00:00
<form method="post" action="{{ url('password/reset') }}">
2021-07-09 01:53:04 +00:00
<input type="hidden" name="token" value="{{ $token }}">
@csrf
2020-01-22 09:48:42 +00:00
<div class="input-group mb-3">
<input type="email" name="email" class="form-control" placeholder="Email" required>
<div class="input-group-append">
2021-07-09 01:53:04 +00:00
<span class="input-group-text"><i class="fas fa-fw fa-envelope"></i></span>
2020-01-22 09:48:42 +00:00
</div>
</div>
2021-07-09 01:53:04 +00:00
2020-01-22 09:48:42 +00:00
<div class="input-group mb-3">
<input type="password" name="password" class="form-control" placeholder="Password" required>
<div class="input-group-append">
2021-07-09 01:53:04 +00:00
<span class="input-group-text"><i class="fas fa-fw fa-lock"></i></span>
2020-01-22 09:48:42 +00:00
</div>
</div>
2021-07-09 01:53:04 +00:00
2020-01-22 09:48:42 +00:00
<div class="input-group mb-3">
<input type="password" name="password_confirmation" class="form-control" placeholder="Confirm Password" data-match="#password" required>
<div class="input-group-append">
2021-07-09 01:53:04 +00:00
<span class="input-group-text"><i class="fas fa-fw fa-clone"></i></span>
2020-01-22 09:48:42 +00:00
</div>
</div>
2021-07-09 01:53:04 +00:00
2020-01-22 09:48:42 +00:00
<div class="row">
<div class="col-12">
<button type="submit" class="btn btn-primary btn-block">{{ trans('adminlte_lang::message.passwordreset') }}</button>
</div>
<!-- /.col -->
</div>
</form>
2018-08-07 14:14:48 +00:00
2020-01-22 09:48:42 +00:00
<p class="mt-3 mb-1">
<a href="{{ url('login') }}">Login</a>
@isset($register)
<a href="{{ url('register') }}" class="text-center">{{ trans('adminlte_lang::message.register') }}</a>
@endisset
</p>
</div>
<!-- /.login-card-body -->
</div>
2018-08-07 14:14:48 +00:00
</div>
2020-01-22 09:48:42 +00:00
<!-- /.login-box -->
2018-08-07 14:14:48 +00:00
@endsection