{{ Form::label('name', getphrase('name')) }} * {{ Form::text('name', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'Jack', 'ng-model'=>'name', 'required'=> 'true', 'ng-class'=>'{"has-error": formUsers.name.$touched && formUsers.name.$invalid}', )) }}
{!! getValidationMessage()!!}
{{ Form::label('father_name', getphrase('father_name')) }} * {{ Form::text('father_name', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'Jack', 'ng-model'=>'father_name', 'required'=> 'true', 'ng-minlength' => '2', 'ng-maxlength' => '100', 'ng-class'=>'{"has-error": formUsers.father_name.$touched && formUsers.father_name.$invalid}', )) }}
{!! getValidationMessage()!!}
{{ Form::label('mother_name', getphrase('mother_name')) }} * {{ Form::text('mother_name', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'Jack', 'ng-model'=>'mother_name', 'required'=> 'true', 'ng-minlength' => '2', 'ng-maxlength' => '100', 'ng-class'=>'{"has-error": formUsers.mother_name.$touched && formUsers.mother_name.$invalid}', )) }}
{!! getValidationMessage()!!}
{{ Form::label('date_of_birth', getphrase('date_of_birth')) }} *
{{ Form::text('dob', $value = date('Y/m/d') , $attributes = array('class'=>'form-control', 'placeholder' => '2015/7/17', 'id'=>'dp')) }}
{{ Form::label('email', getphrase('email')) }} {{ Form::email('email', $value = null, $attributes = array('class'=>'form-control', 'placeholder' => 'jack@jarvis.com', 'ng-model'=>'email', )) }}
{{ Form::label('phone', getphrase('phone')) }} * {{ Form::number('mobile', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('please_enter_10-15_digit_mobile_number'), 'ng-model'=>'mobile', 'required'=> 'true', 'ng-class'=>'{"has-error": formUsers.mobile.$touched && formUsers.mobile.$invalid}', )) }}
{!! getValidationMessage()!!}
{{ Form::label('branch', getphrase('branch')) }} * {{Form::select('branch_id', $branches, $selected, ['placeholder' => getPhrase('select_branch'),'class'=>'form-control', 'ng-model'=>'branch_id', 'id'=>'branch_id', 'required'=> 'true', "ng-change" => "getAcademicYears(branch_id)", 'ng-class'=>'{"has-error": formUsers.branch_id.$touched && formUsers.branch_id.$invalid}' ])}}
{!! getValidationMessage()!!}
*