@extends('layout.master') @section('content') @include('layout.errorform') @include('layout.info') @if (session('status'))
{{ session('status') }}
@endif
Forgot Password
{!! Form::open(['route' => 'password.email', 'class' => 'form-horizontal', 'id' => 'form']) !!}
{!! Form::label('na', 'Email :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('email', @$value, ['class' => 'form-control', 'id' => 'na', 'placeholder' => 'Email']) !!}
{!! Form::submit('Send Password Reset Link', ['class' => 'btn btn-primary btn-lg btn-block']) !!}
{!! Form::close() !!}
@endsection @section('jquery') $("#na").keyup(function() { lch(this); }); //////////////////////////////////////////////////////////////////////////////////// // bootstrap validator $("#form").bootstrapValidator({ feedbackIcons: { valid: 'glyphicon glyphicon-ok', invalid: 'glyphicon glyphicon-remove', validating: 'glyphicon glyphicon-refresh' }, fields: { email: { validators: { notEmpty: { message: 'Please insert your email ' }, regexp: { regexp: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, message: ' Please insert your valid email address' }, } }, } }) //////////////////////////////////////////////////////////////////////////////////// @endsection