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

@if (isset($add_speech_slider)) @lang('front_settings.edit_speech_slider') @else @lang('front_settings.speech_slider') @endif

@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('designation')) {{ $errors->first('designation') }} @endif
@if ($errors->has('speech')) {{ $errors->first('speech') }} @endif
(jpg,png,jpeg are allowed for upload)
@if ($errors->has('image')) {{ $errors->first('image') }} @endif
{{ Form::close() }}

@lang('front_settings.speech_slider_list')

@foreach ($speechSliders as $key => $value) @endforeach
@lang('common.sl') @lang('front_settings.name') @lang('front_settings.designation') @lang('front_settings.speech') @lang('front_settings.image') @lang('common.action')
{{ $key + 1 }} {{ @$value->name }} {{ @$value->designation }} {{ mb_strimwidth(@$value->speech, 0, 50, "...") }} @if ($value->image) @lang('front_settings.download') @endif @lang('common.edit') @lang('common.delete')
@endsection @include('backEnd.partials.data_table_js') @include('backEnd.partials.date_picker_css_js')