@extends('admin.layouts.admin') @section('content') Home Seasons Season @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @if($action == 'Edit') @else @endif @csrf @if(isset($record->id)) @php $id=$record->id @endphp @else @php $id=0; @endphp @endif {{ $title }} @if(isset($record->name)) @php $name=$record->name @endphp @elseif(old('name')) @php $name=old('name'); @endphp @else @php $name=''; @endphp @endif Season * @if(isset($record->rank)) @php $rank=$record->rank @endphp @elseif(old('rank')) @php $rank=old('rank'); @endphp @else @php $rank=0; @endphp @endif Rank Submit @endsection