@extends('backEnd.master') @section('title') @lang('front_settings.class_exam_routine_page') @endsection @push('css') @endpush @section('mainContent') @lang('front_settings.class_exam_routine_page') @lang('common.dashboard') @lang('front_settings.front_settings') @lang('front_settings.class_exam_routine_page') @if (userPermission('news-heading-update')) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'class-exam-routine-page-update', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @endif @lang('front_settings.class_exam_routine_page') @lang('front_settings.title') * @if ($errors->has('title')) {{ $errors->first('title') }} @endif @lang('common.description') * {{ isset($update) ? ($routine_page != '' ? $routine_page->description : '') : '' }} @if ($errors->has('description')) {{ $errors->first('description') }} @endif @lang('front_settings.main_title') * @if ($errors->has('main_title')) {{ $errors->first('main_title') }} @endif @lang('front_settings.main_description') * {{ isset($update) ? ($routine_page != '' ? $routine_page->main_description : '') : '' }} @if ($errors->has('main_description')) {{ $errors->first('main_description') }} @endif @lang('front_settings.button_text') * @if ($errors->has('button_text')) {{ $errors->first('button_text') }} @endif @lang('front_settings.button_url') * @if ($errors->has('button_url')) {{ $errors->first('button_url') }} @endif @lang('front_settings.image')(1420px*450px) @if ($errors->has('image')) {{ $errors->first('image') }} @endif {{ __('common.browse') }} @lang('common.image')(1420px*450px) {{ __('common.browse') }} @lang('front_settings.class_routine') class_routine == 'show' ? 'checked' : '' }}> @lang('front_settings.show') class_routine == 'hide' ? 'checked' : '' }}> @lang('front_settings.hide') @lang('front_settings.exam_routine') exam_routine == 'show' ? 'checked' : '' }}> @lang('front_settings.show') exam_routine == 'hide' ? 'checked' : '' }}> @lang('front_settings.hide') @php $tooltip = ''; if (userPermission('news-heading-update')) { $tooltip = ''; } else { $tooltip = 'You have no permission to add'; } @endphp @if (Illuminate\Support\Facades\Config::get('app.app_sync')) @lang('common.update') @else @if (isset($update)) @lang('common.update') @else @lang('common.save') @endif @endif {{ Form::close() }} @endsection