@extends('layouts.app') @section('content')
@include('partials.header') @include('partials.sidebar')

Promotion Info

@if (session('success')) @endif @if (session('error') || $errors->any()) @endif @if ($promotionInfos->count() > 0)
@foreach ($promotionInfos as $info) @endforeach
# Content Status Last Updated Actions
{{ $loop->iteration }}
{{ Str::limit(strip_tags($info->content), 120) }}
@if (!$info->is_active) (Inactive) @endif
is_active ? 'checked' : '' }} onchange="updateActiveStatus({{ $info->id }}, this.checked)" data-info-id="{{ $info->id }}">
{{ $info->updated_at->format('M d, Y H:i') }}
@else
No promotion info found

Create your first promotion info to display a subheader in the app.

Create First Promotion Info
@endif
@endsection