{{ Form::label('religion_name', getphrase('religion')) }} {{ Form::text('religion_name', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'Christian', 'ng-model'=>'religion_name', 'ng-pattern'=>getRegexPattern('name'), 'required'=> 'true', 'ng-class'=>'{"has-error": formReligion.religion_name.$touched && formReligion.religion_name.$invalid}', 'ng-minlength' => '2', 'ng-maxlength' => '40', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('pattern')!!} {!! getValidationMessage('minlength')!!} {!! getValidationMessage('maxlength')!!}