@extends('layouts.master') @section('title') {{ __('manage_online_exam') }} @endsection @section('content')
@can('online-exam-create')

{{ __('create_online_exam') }}

@if (Auth::user()->hasRole('School Admin')) @else @endif
{!! Form::text('title', "", ['required','id' => "title","placeholder" => trans('title'),"class" => "form-control" ]) !!}
{!! Form::number('exam_key', "", ['required','id' => "key","placeholder" => trans('exam_key'),"class" => "form-control","min" => 1]) !!}
{!! Form::number('duration', "", ['required','id' => "duration","placeholder" => trans('duration'),"class" => "form-control","min" => 1]) !!}
{!! Form::datetimeLocal('start_date', "", ['required','id' => "start-date timepicker-example","placeholder" => trans('start_date'),"class" => "form-control"]) !!}
{!! Form::datetimeLocal('end_date', "", ['required','id' => "end-date","placeholder" => trans('end_date'),"class" => "form-control"]) !!}
{{-- --}}
@endcan

{{ __('list') . ' ' . __('exams') }}

{!! Form::select('session_year_id', $sessionYear, $defaultSessionYear->id, ['class' => 'form-control', 'id' => 'filter_session_year_id']) !!}
@if (Auth::user()->hasRole('School Admin')) @else @endif
{{ __('id') }} {{ __('no.') }} {{ __('class_section') }} {{ __('subject') }} {{ __('title') }} {{ __('exam_key')}} {{ __('duration')}} ( {{__('in_minutes')}} ) {{ __('start_date') }} {{ __('end_date') }} {{ __('total').' '.__('questions') }} {{ __('created_at') }} {{ __('updated_at') }} {{ __('action') }}
{{-- model --}} @endsection