@extends('backend.layouts.master') @section('pageTitle') Exam @endsection @section('pageContent') Exam @if($exam) Update @else Add New @endif Dashboard Exam @if($exam) Update @else Add @endif @csrf @if(!$exam) Class Name* {!! Form::select('class_id', $classes, null , ['placeholder' => 'Pick a class...','class' => 'form-control select2', 'required' => 'true']) !!} {{ $errors->first('class_id') }} @endif Name* {{ $errors->first('name') }} Elective Subject Point Above Addition {{ $errors->first('elective_subject_point_addition') }} Marks Distribution Types* {!! Form::select('marks_distribution_types[]', AppHelper::MARKS_DISTRIBUTION_TYPES, $marksDistributionTypes , ['class' => 'form-control select2', 'multiple'=>'true', 'required' => 'true']) !!} {{ $errors->first('marks_distribution_types') }} Open for marks entry {!! Form::checkbox('open_for_marks_entry', $open_for_marks_entry, $open_for_marks_entry) !!} {{ $errors->first('open_for_marks_entry') }} @endsection @section('extraScript') @endsection