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