Skip to content

Instantly share code, notes, and snippets.

View ElawadyNet's full-sized avatar

Elawady Elsayd ElawadyNet

View GitHub Profile
@ElawadyNet
ElawadyNet / form
Last active August 29, 2015 14:09
use laravel validation rules on client side.
<div class="form-group">
{{Form::label('label','text')}}
{{Form::text('name',$value,['class'=>'form-control lara-validation' , 'data-lara-key' => 'email','data-lara-rules' => 'required|email'])}}
<div class="lara-validation-note"></div>
</div>