@extends('layouts.app') @php $title = isset($color)?'Edit Color':'Create Color'; @endphp @section('title', $title) @section('css') @endsection @section('content') Color Dashboard {{$title}} {{$title}} @csrf @if(isset($color)) @method('PUT') @endif Name * Color * Status status ?? '') == 1 ? 'selected' : '' }}>Active status ?? '') == 0 ? 'selected' : '' }}>In Active @endsection @section('scripts') @endsection