@extends('backEnd.master') @section('title') @lang('exam.exam_type') @endsection @section('mainContent')
@if(isset($exam_type_edit)) @if(userPermission(209)) @endif @endif

@if(isset($exam_type_edit)) @lang('exam.edit_exam_type') @else @lang('exam.add_exam_type') @endif

@if(isset($exam_type_edit)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'global_exam_type_update', 'method' => 'POST']) }} @else @if(userPermission(209)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'global_exam_type_store', 'method' => 'POST']) }} @endif @endif
@if ($errors->has('exam_type_title')) {{ $errors->first('exam_type_title') }} @endif
@php $tooltip = ""; if(userPermission(209)){ $tooltip = ""; }else{ $tooltip = "You have no permission to add"; } @endphp
{{ Form::close() }}

@lang('exam.exam_type_list')

{{-- --}} @php $i=0; @endphp @foreach($exams_types as $exams_type) @endforeach
@lang('common.sl') @lang('exam.exam_name')@lang('common.status')@lang('common.action')
{{++$i}} {{ @$exams_type->title}} @if(userPermission(210)) @lang('common.edit') @endif @if(userPermission(211)) @lang('common.delete') @endif
@endsection @include('backEnd.partials.data_table_js')