@extends('layouts.app') @php($prefix = auth()->user()->role === 'admin' ? 'admin.' : 'user.') @section('title', 'Brands Management') @push('styles') @endpush @section('content') Brands Add new # Brand Key Brand Name Status Action @forelse ($brands ?? [] as $brand) {{ $loop->iteration }} @if ($brand->status) Active @else Inactive @endif {{ $brand->name }} status) checked @endif> {{ __('Edit') }} {{ __('Delete') }} @empty No brands found. @endforelse