@props([ 'action' => '#', 'method' => 'POST', 'name' => '', 'formClass' => 'd-inline', 'buttonClass' => '', 'icon' => false, 'permission' => false, ]) @if ($permission) @if ($logged_in_user->can($permission))
@csrf @method($method)
@endif @else
@csrf @method($method)
@endif