@extends('template.layouts.template-base') @section('title', 'Create ') @section('content') Create - {{ ucwords(str_replace('-', ' ', $pages)) }} Back @csrf {{-- General Information --}} @php $labels = [ 'brand' => 'Brand Name', 'unit' => 'Unit Name', 'category' => 'Category Name', ]; $label = $labels[$pages] ?? 'Title'; @endphp {{ $label }} * @error('value') {{ $message }} @enderror @if ($pages == 'brand') Brand Logo @error('logo') {{ $message }} @enderror @endif Status status ?? 1) == 1 ? 'checked' : '' }}> Active status ?? 1) == 0 ? 'checked' : '' }}> Inactive @if ($pages == 'brand') Set as Default Brand @endif Submit @endsection @section('script') @endsection