@if(checkRole(['owner']))
{{ Form::label('branch_id', getphrase('branch')) }} * {{Form::select('branch_id', $branches, null, ['class'=>'form-control', 'id'=>'branch_id', 'ng-model'=>'branch_id', 'required'=> 'true', 'ng-class'=>'{"has-error": formTopics.branch_id.$touched && formTopics.branch_id.$invalid}' ])}}
{!! getValidationMessage()!!}
@else {{ Form::hidden('branch_id', getUserRecord()->branch_id, array('id'=>'branch_id')) }} @endif
{{ Form::label('category_name', getphrase('category_name')) }} {{ Form::text('title', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'Test-1', 'ng-model'=>'title', 'id'=>'title', 'ng-pattern'=>getRegexPattern('name'), 'required'=> 'true', 'ng-class'=>'{"has-error": formOfflineQuizCategory.title.$touched && formOfflineQuizCategory.title.$invalid}', 'ng-minlength' => '1', 'ng-maxlength' => '40', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('pattern')!!} {!! getValidationMessage('minlength')!!} {!! getValidationMessage('maxlength')!!}