@extends('layouts.app') @section('title', $tier->exists ? 'Edit '.$tier->name : 'Add tier') @section('content') @php use App\Models\SponsorTier; $matrix = $tier->matrix ?? []; @endphp

← Tiers

{{ $tier->exists ? 'Edit '.$tier->name : 'Add sponsorship tier' }}

Everything here appears on the sponsorship page and the home page as soon as you save.

@csrf @if ($tier->exists) @method('PUT') @endif

Basics

Comparison table: what this tier gets

@if ($benefitRows->isEmpty())

No comparison rows yet. Add rows on the Tiers page first.

@else
@foreach ($benefitRows as $b) @php $v = $matrix[$b->id] ?? false; $mode = $v === true ? 'yes' : (is_string($v) && $v !== '' ? 'text' : 'no'); @endphp @endforeach
{{ $b->label }}
@endif
Cancel
@endsection @push('scripts') @endpush