-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
54 additions
and
52 deletions.
There are no files selected for viewing
106 changes: 54 additions & 52 deletions
106
src/Illuminate/Auth/Console/stubs/make/views/auth/passwords/reset.stub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,71 @@ | ||
@component('layouts.app') | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-8 col-md-offset-2"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Reset Password</div> | ||
@extends('layouts.app') | ||
|
||
<div class="panel-body"> | ||
@if (session('status')) | ||
<div class="alert alert-success"> | ||
{{ session('status') }} | ||
</div> | ||
@endif | ||
@section('content') | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-8 col-md-offset-2"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Reset Password</div> | ||
|
||
@if (session('warning')) | ||
<div class="alert alert-warning"> | ||
{{ session('warning') }} | ||
</div> | ||
@else | ||
<div class="panel-body"> | ||
@if (session('status')) | ||
<div class="alert alert-success"> | ||
{{ session('status') }} | ||
</div> | ||
@endif | ||
|
||
@if (session('warning')) | ||
<div class="alert alert-warning"> | ||
{{ session('warning') }} | ||
</div> | ||
@else | ||
|
||
<form class="form-horizontal" role="form" method="POST" action="{{ url('/password/reset') }}"> | ||
{{ csrf_field() }} | ||
<form class="form-horizontal" role="form" method="POST" action="{{ url('/password/reset') }}"> | ||
{{ csrf_field() }} | ||
|
||
<input type="hidden" name="email" value="{{ $email }}"> | ||
<input type="hidden" name="expiration" value="{{ $expiration }}"> | ||
<input type="hidden" name="token" value="{{ $token }}"> | ||
<input type="hidden" name="email" value="{{ $email }}"> | ||
<input type="hidden" name="expiration" value="{{ $expiration }}"> | ||
<input type="hidden" name="token" value="{{ $token }}"> | ||
|
||
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}"> | ||
<label for="password" class="col-md-4 control-label">Password</label> | ||
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}"> | ||
<label for="password" class="col-md-4 control-label">Password</label> | ||
|
||
<div class="col-md-6"> | ||
<input id="password" type="password" class="form-control" name="password" required autofocus> | ||
<div class="col-md-6"> | ||
<input id="password" type="password" class="form-control" name="password" required autofocus> | ||
|
||
@if ($errors->has('password')) | ||
<span class="help-block"> | ||
<strong>{{ $errors->first('password') }}</strong> | ||
</span> | ||
@endif | ||
</div> | ||
@if ($errors->has('password')) | ||
<span class="help-block"> | ||
<strong>{{ $errors->first('password') }}</strong> | ||
</span> | ||
@endif | ||
</div> | ||
</div> | ||
|
||
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}"> | ||
<label for="password-confirm" class="col-md-4 control-label">Confirm Password</label> | ||
<div class="col-md-6"> | ||
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required> | ||
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}"> | ||
<label for="password-confirm" class="col-md-4 control-label">Confirm Password</label> | ||
<div class="col-md-6"> | ||
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required> | ||
|
||
@if ($errors->has('password_confirmation')) | ||
<span class="help-block"> | ||
<strong>{{ $errors->first('password_confirmation') }}</strong> | ||
</span> | ||
@endif | ||
</div> | ||
@if ($errors->has('password_confirmation')) | ||
<span class="help-block"> | ||
<strong>{{ $errors->first('password_confirmation') }}</strong> | ||
</span> | ||
@endif | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<div class="col-md-6 col-md-offset-4"> | ||
<button type="submit" class="btn btn-primary"> | ||
Reset Password | ||
</button> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-md-6 col-md-offset-4"> | ||
<button type="submit" class="btn btn-primary"> | ||
Reset Password | ||
</button> | ||
</div> | ||
</form> | ||
@endif | ||
</div> | ||
</div> | ||
</form> | ||
@endif | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endcomponent | ||
</div> | ||
@endsection |