@extends('backEnd.master') @section('title') @lang('front_settings.about_page') @endsection @section('mainContent')

@if(isset($update)) @lang('common.edit') @else @lang('common.add') @endif

@if(isset($update)) {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'about-page/update', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @else {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'visitor_store', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }} @endif
@if(session()->has('message-success'))
@lang('front_settings.inserted_message')
@elseif(session()->has('message-danger'))
@lang('front_settings.error_message')
@endif
@if ($errors->has('title')) {{ $errors->first('title') }} @endif
@if($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('main_title')) {{ $errors->first('main_title') }} @endif
@if($errors->has('main_description')) {{ $errors->first('main_description') }} @endif
@if ($errors->has('button_text')) {{ $errors->first('button_text') }} @endif
@if ($errors->has('button_url')) {{ $errors->first('button_url') }} @endif
image) :trans('common.image') .' *' :trans('common.image') .' *' }}" readonly> @if($errors->has('image')) {{ $errors->first('image') }} @endif
@lang('common.image')(1420px*450px)
main_image) :trans('front_settings.main') .' '. trans('common.image') .' *' :trans('front_settings.main') .' '. trans('common.image') .' *' }}" readonly> @if($errors->has('main_image')) {{ $errors->first('main_image') }} @endif
@lang('common.image')(1420px*450px)
@if(Illuminate\Support\Facades\Config::get('app.app_sync')) @else @endif
{{ Form::close() }}

@lang('front_settings.info')

@lang('common.title') @lang('common.description') @lang('front_settings.button_text') @lang('front_settings.button_url') @lang('common.action')
{{$about_us != ""? $about_us->title:""}} {{$about_us != ""? $about_us->description:""}} {{$about_us != ""? $about_us->button_text:""}} {{$about_us != ""? $about_us->button_url:""}} @if($about_us != "") @if(userPermission('about-page/view')) @lang('common.view') @endif @if(userPermission('about-page/edit')) @lang('common.edit') @endif @endif
@if($about_us) @endif @endsection