@extends('backEnd.master') @section('title') @if(isset($editData)) @lang('front_settings.edit_page') @else @lang('front_settings.add_page') @endif @endsection @section('mainContent') @push('css') @endpush @lang('front_settings.create_page') @lang('common.dashboard') @lang('front_settings.front_settings') @lang('front_settings.create_page') @if(isset($editData)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'update-page-data', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @else {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'save-page-data', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @endif @if(isset($editData)) @lang('front_settings.edit_page') @else @lang('front_settings.add_page') @endif @lang('front_settings.back') @if (isset($editData)) @if(userPermission("save-page-data")) @lang('common.add') @endif @endif @lang('common.title') * @if ($errors->has('title')) {{ @$errors->first('title') }} @endif @lang('front_settings.slug') * @if ($errors->has('slug')) {{ @$errors->first('slug') }} @endif {{ __('front_settings.image_header_min') }} header_image):trans('front_settings.image_header_min')." (1420*450 PX)"}}" id="placeholderUploadContent"> {{ __('common.browse') }} @isset($editData) @lang('front_settings.preview') @endisset @lang('front_settings.sub_title') @lang('common.details') * {{isset($editData)? $editData->details: old('details')}} @if($errors->has('details')) {{ $errors->first('details') }} @endif @php $tooltip = ""; if(userPermission("save-page-data")){ $tooltip = ""; }else{ $tooltip = "You have no permission to add"; } if(isset($editData)){ if(userPermission("edit-page")){ $tooltip = ""; }else{ $tooltip = "You have no permission to edit"; } } @endphp @if(isset($editData)) @lang('front_settings.update_page') @else @lang('front_settings.save_page') @endif {{ Form::close() }} @lang('front_settings.image_preview') × @endsection @push('script') @endpush