@extends('admin.layouts.app') @section('title', 'Manage Carousel Slides') @section('content')
| # | Image | Name | Description | Buttons | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} |
@if($slide->bigPic && file_exists(public_path('uploads/carousel/' . $slide->bigPic)))
|
{{ $slide->name }} | {{ strlen($slide->description) > 40 ? substr($slide->description, 0, 40) . '...' : $slide->description }} | @if($slide->button1) {{ $slide->button1 }} @endif @if($slide->button2) {{ $slide->button2 }} @endif |
status ? 'checked' : '' }}>
|
|
| No slides found. | ||||||