@php $action = isset($method) && $method=='update' ? route('role.update', $role->id) : route('role.store'); @endphp