Sindbad~EG File Manager
@extends('layoutlogin')
@section('title')
<title>Reset Password</title>
@stop
@section('script')
<script type="text/javascript">
var baseUrl = "{{ url('/') }}";
$(document).ready(function () {
$("#form_login").validate({
rules: {
email: {
required: true,
email: true
},
password: {
required: true,
minlength:6
},
password_confirmation: {
required: true,
equalTo: "#password",
minlength:6
},
agree: "required"
},
messages: {
password: {
required: "Please provide a password",
minlength: "Your password must be at least 6 characters long"
},
password_confirmation: {
required: "Please provide a password",
minlength: "Your password must be at least 6 characters long",
equalTo: "Please enter the same password as above"
},
email: "Please enter a valid email address"
}
});
});
</script>
@stop
@section('content')
<div class="loginform largeForm">
{{ Form::open(array('route' => array('password.update', $token),'role'=>'form','id'=>'form_login')) }}
{{-- <div class="col-12 hidden-lg news"> Content Space </div> --}}
<h1 class="text-center">Reset Password</h1>
@if (Session::has('error'))
{{ trans(Session::get('reason')) }}
@elseif (Session::has('success'))
An email with the password reset has been sent.
@endif
@if(Session::has('msg'))
<div class="alert alert-success">{{ Session::get('msg')}}</div>
@endif
@if(Session::has('msg_err'))
<div class="alert alert-danger">{{ Session::get('msg_err')}}</div>
@endif
<div class="form-group largeForm">
<div class="form-group">
{{ Form::label('email', 'Email Id: ') }}
{{ Form::text('email','',array('class' => 'req form-control input-lg email','placeholder'=>'Email' ) ) }}
</div>
<div class="form-group">
{{ Form::label('password', 'Password') }}
<input type="password" name="password" class="form-control input-lg req" placeholder="Password" required id="password">
</div>
<div class="form-group">
{{ Form::label('password_confirmation', 'Confirm Password') }}
<input type="password" name="password_confirmation" class="form-control input-lg req" placeholder="Confirm Password" required id="password_confirmation">
</div>
<div class="form-group">
{{ Form::hidden('token', $token) }}
<input type="submit" value="Submit" id ="btnSubmit" class="btn primary full-width button-wide button-large">
</div>
<h4 class="text-center" ><strong><a href="{{ url('login') }}">Back to Login</a></strong></h4>
</div>
{{ Form::close() }}
</div>
@stop
@section("content_right")
<ul class="list">
<li>Enter the same email address you have used to generate the password reset link.</li>
<li>Password reset link sent to your email is valid only for 24 hours and can be used only once</li>
<li>Need help? Write to {{ CustomClass::$EMAIL_SUPPORT }}</li>
</ul>
@stop
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists