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

@if (isset($add_home_slider)) @lang('front_settings.edit_home_slider') @else @lang('front_settings.home_slider') @endif

@if ($errors->has('image')) {{ $errors->first('image') }} @endif
@if ($errors->has('link')) {{ $errors->first('link') }} @endif
@if(config('app.app_sync')) @else @endif
{{ Form::close() }}

@lang('front_settings.home_slider_list')

@foreach ($homeSliders as $key => $value) @endforeach
@lang('common.sl') @lang('front_settings.image') @lang('front_settings.link') @lang('common.action')
{{ $key + 1 }} {{ @$value->link }} @lang('common.edit') @lang('common.delete')
@endsection @include('backEnd.partials.data_table_js') @section('script') @endsection