@props([ 'row' => null, 'route' => '', 'method' => 'POST', 'name' => 'modal', ])
@csrf @if($method !== 'POST') @method($method) @endif

{{ $row ? __('Update') : __('Add') }}

{{ __('Cancel') }} {{ $row ? __('Update') : __('Save') }}