@extends('admin::layouts.content') @section('page_title') {{ __('admin::app.settings.sliders.edit-title') }} @stop @section('content')
@php $locale = core()->getRequestedLocaleCode(); @endphp
@csrf() {!! view_render_event('bagisto.admin.settings.slider.edit.before') !!}
@{{ errors.first('locale[]') }}
@{{ errors.first('title') }}
@php $channels = core()->getAllChannels() @endphp
@{{ errors.first('channel_id') }}
{{ __('admin::app.settings.sliders.image-size') }} @foreach ($errors->get('image.*') as $key => $message) @php echo str_replace($key, 'Image', $message[0]); @endphp @endforeach
@{{ errors.first('content') }}
{!! view_render_event('bagisto.admin.settings.slider.edit.after', ['slider' => $slider]) !!}
@endsection @push('scripts') @include('admin::layouts.tinymce') @endpush