@extends('backEnd.master') @section('title') @lang('front_settings.photo_gallery') @endsection @section('mainContent')
@if (isset($add_photo_gallery)) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'photo-gallery-update', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @else @if (userPermission('photo-gallery-store')) {{ Form::open([ 'class' => 'form-horizontal', 'files' => true, 'route' => 'photo-gallery-store', 'method' => 'POST', 'enctype' => 'multipart/form-data', ]) }} @endif @endif

@if (isset($add_photo_gallery)) @lang('front_settings.edit_photo_gallery') @else @lang('front_settings.photo_gallery') @endif

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif
@if ($errors->has('feature_image')) {{ $errors->first('feature_image') }} @endif
@lang('front_settings.add_gallery_photos')
@if (@$add_photo_gallery) @foreach (@$add_photo_galleries as $galleryImage) @endforeach @endif
@if(config('app.app_sync')) @else @endif
{{ Form::close() }}

@lang('front_settings.photo_gallery_list')

@foreach ($photoGalleries as $key => $value) @endforeach
@lang('common.sl') @lang('front_settings.name') @lang('front_settings.description') @lang('front_settings.image') @lang('common.action')
{{ $key + 1 }} {{ @$value->name }} {{ @$value->description }} @lang('common.view') @lang('common.edit') @lang('common.delete')
@endsection @include('backEnd.partials.data_table_js') @push('script') @endpush