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