@extends('layouts.admin.adminlayout') @section('content')
@include('errors.errors')
{{ Form::model($record, array('url' => URL_UPDATE_EXAM_TYPE.$record->code, 'method'=>'post', 'novalidate'=>'','name'=>'formCategories')) }}
{{ Form::label('title', getphrase('category_name')) }} * {{ Form::text('title', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => getPhrase('enter_category_name'), 'ng-model'=>'title', 'ng-pattern' => getRegexPattern('name'), 'ng-minlength' => '2', 'ng-maxlength' => '60', 'required'=> 'true', 'ng-class'=>'{"has-error": formCategories.title.$touched && formCategories.title.$invalid}', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('minlength')!!} {!! getValidationMessage('maxlength')!!} {!! getValidationMessage('pattern')!!}
{{ Form::label('status', 'Take exam with out registration') }} * {{Form::select('status', $options, null, ['placeholder' => getPhrase('select'),'class'=>'form-control', 'ng-model'=>'status', 'required'=> 'true', 'ng-pattern' => getRegexPattern("name"), 'ng-minlength' => '2', 'ng-maxlength' => '20', 'ng-class'=>'{"has-error": formCategories.status.$touched && formCategories.status.$invalid}', ]) }}
{!! getValidationMessage()!!}
{{ Form::label('description', getphrase('description')) }} {{ Form::textarea('description', $value = null , $attributes = array('class'=>'form-control', 'rows'=>'5', 'placeholder' => 'Description')) }}
{!! Form::close() !!}
@stop @section('footer_scripts') @include('common.validations') @stop