@php($editing = $banner->exists)
@csrf @if ($editing) @method('PUT') @endif
{{-- Only the field for the chosen action is enabled, so it alone is sent as action_value. --}}
{{ $editing ? __('Save changes') : __('Create banner') }} {{ __('Cancel') }}