Files

69 lines
3.1 KiB
PHP

@extends('admin.layout')
@section('pageHeading', trans('admin/loginForm.passwordReset'))
@section('page')
<div class="auth">
<div class="auth-container">
<div class="card">
<header class="auth-header">
<h1 class="auth-title">
@lang('admin/loginForm.passwordReset')
</h1>
</header>
<div class="auth-content">
<form class="form-horizontal" method="POST" action="{{ route('password.request') }}">
{!! csrf_field() !!}
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label for="email">@lang('register.email')</label>
<input id="email" type="email" class="form-control underlined" name="email"
value="{{ $email or old('email') }}" required autofocus>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<label for="password">@lang('register.password')</label>
<input id="password" type="password" class="form-control underlined" name="password"
required>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<label for="password-confirm">@lang('register.passwordConfirm')</label>
<input id="password-confirm" type="password" class="form-control underlined"
name="password_confirmation" required>
@if ($errors->has('password_confirmation'))
<span class="help-block">
<strong>{{ $errors->first('password_confirmation') }}</strong>
</span>
@endif
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary btn-block">
@lang('register.setNewPassword')
</button>
</div>
</form>
</div>
</div>
</div>
</div>
@endsection