@if(checkRole(['owner']))
{{ Form::label('branch_id', getphrase('select_branch')) }} * {{Form::select('branch_id', $branches, null, ['class'=>'form-control select2','placeholder'=>'select', 'ng-model'=>'branch_id', 'required'=> 'true', 'ng-class'=>'{"has-error": formAcademics.branch_id.$touched && formAcademics.branch_id.$invalid}', ])}}
{!! getValidationMessage()!!}
@else {{ Form::hidden('branch_id', getUserRecord()->branch_id) }} @endif
{{ Form::label('academic_year_title', getphrase('academic_title')) }} * {{ Form::text('academic_year_title', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => '2016-2017 CSE', 'ng-model'=>'academic_year_title', 'required'=> 'true', 'ng-class'=>'{"has-error": formAcademics.academic_year_title.$touched && formAcademics.academic_year_title.$invalid}', 'ng-minlength' => '4', 'ng-maxlength' => '40', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('minlength')!!} {!! getValidationMessage('maxlength')!!}
{{ Form::label('academic_start_date', getphrase('start_date')) }} * {{ Form::text('academic_start_date', null , $attributes = array('class'=>'form-control', 'placeholder' => '2015/7/17', 'id'=>'dp1', 'ng-model'=>'academic_start_date', )) }}
{{ Form::label('academic_end_date', getphrase('end_date')) }} * {{ Form::text('academic_end_date', null , $attributes = array('class'=>'form-control', 'placeholder' => '2015/7/17', 'id'=>'dp2', 'ng-model'=>'academic_end_date', )) }}
{{ Form::label('show_in_list', getphrase('show_in_list')) }}
{{ Form::radio('show_in_list', 0, true, array('id'=>'free1', 'name'=>'show_in_list')) }}
{{ Form::radio('show_in_list', 1, false, array('id'=>'paid1', 'name'=>'show_in_list')) }}