Migrate ability to reset passwords
This commit is contained in:
parent
f47f0cd549
commit
2d57772528
7 changed files with 131 additions and 0 deletions
48
resources/views/auth/password.blade.php
Normal file
48
resources/views/auth/password.blade.php
Normal file
|
@ -0,0 +1,48 @@
|
|||
@extends('layouts.master')
|
||||
|
||||
@section('title', 'Reset Password')
|
||||
|
||||
|
||||
@section('right-nav')
|
||||
@endsection
|
||||
|
||||
@section('sidebar')
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="col-md-6">
|
||||
<form action="/auth/password" method="POST">
|
||||
<legend>{{ trans('auth.resetpassword') }}</legend>
|
||||
<fieldset>
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
<strong>{{ trans('strings.whoops') }}!</strong> {{ trans('auth.errorencountered') }}<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
@if (session('status'))
|
||||
<div class="alert alert-success">
|
||||
<strong>{{ trans('strings.success') }}!</strong> {{ trans('auth.emailsent') }}
|
||||
</div>
|
||||
@endif
|
||||
<div class="form-group">
|
||||
<label for="email" class="control-label">{{ trans('strings.email') }}</label>
|
||||
<div>
|
||||
<input type="text" class="form-control" name="email" id="email" value="{{ old('email') }}" placeholder="{{ trans('strings.email') }}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div>
|
||||
{!! csrf_field() !!}
|
||||
<button class="btn btn-default btn-sm">{{ trans('auth.sendlink') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-3"></div>
|
||||
@endsection
|
Reference in a new issue