57 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| @extends('themes.default1.layouts.login')
 | |
| 
 | |
| @section('body')
 | |
| @if(Session::has('status'))
 | |
| <div class="alert alert-success alert-dismissable">
 | |
|     <i class="fa fa-check-circle"> </i> <b> {!! Lang::get('lang.success') !!} </b>
 | |
|     <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
 | |
|     {{Session::get('status')}}
 | |
| </div>
 | |
| @endif
 | |
| <!-- failure message -->
 | |
| @if (count($errors) > 0)
 | |
| <div class="alert alert-danger alert-dismissable">
 | |
|     <i class="fa fa-ban"></i>
 | |
|     <b>{!! Lang::get('lang.alert') !!} !</b>
 | |
|     <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
 | |
|     @foreach ($errors->all() as $error)
 | |
|     <li class="error-message-padding">{{ $error }}</li>
 | |
|     @endforeach
 | |
| </div>
 | |
| @endif
 | |
| <p class="login-box-msg">{!! Lang::get('lang.reset_password') !!}</p>
 | |
| <div class="panel-body">
 | |
|     <form class="form-horizontal" role="form" method="POST" action="{{ url('/password/reset') }}">
 | |
|         <input type="hidden" name="_token" value="{{ csrf_token() }}">
 | |
|         <input type="hidden" name="token" value="{{ $token }}">
 | |
|         <!-- Email -->
 | |
|         <div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
 | |
|             <input type="email" class="form-control" name="email" placeholder="{!! Lang::get('lang.e-mail') !!}" value="{{ old('email') }}">
 | |
|             <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
 | |
|         </div>
 | |
|         <!-- password -->
 | |
|         <div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
 | |
|             <input type="password" class="form-control" name="password" placeholder="{!! Lang::get('lang.password') !!}">
 | |
|             <span class="glyphicon glyphicon-lock form-control-feedback"></span>
 | |
|         </div>
 | |
|         <!-- confirm password -->
 | |
|         <div class="form-group has-feedback {{ $errors->has('password_confirmation') ? 'has-error' : '' }}">
 | |
|             <input type="password" class="form-control" name="password_confirmation" placeholder="{!! Lang::get('lang.confirm_password') !!}">
 | |
|             <span class="glyphicon glyphicon-log-in form-control-feedback"></span>
 | |
|         </div>
 | |
| 
 | |
|         <!-- Confirm password -->
 | |
| 
 | |
|         <div class="form-group">
 | |
|             <div class="col-md-3"></div>
 | |
|             <div class="col-md-3">
 | |
|                 <button type="submit" class="btn btn-primary btn-flat">
 | |
|                     {!! Lang::get('lang.reset_password') !!}
 | |
|                 </button>
 | |
|             </div>
 | |
|         </div>
 | |
|     </form>
 | |
| </div>
 | |
| 
 | |
| @stop
 | 
