@extends('admin.layouts.master') @section('title') sliders @endsection @section('css') @endsection @section('content')
Add new
@if ($errors->any())
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@foreach($data as $row) @include('admin.sliders.edit') @include('admin.sliders.deleted') @endforeach
name
Status
Action
{{ $row->name() }}
is_active == '1' ? 'checked' : ''}} onchange="toggleStatus({{$row->id}}, this.checked ? '1' : '0')">
{{$row->is_active == '1' ? 'active' : 'inActive'}}
@include('admin.sliders.create') @endsection @section('js') @endsection