@props(['type', 'id', 'model' => null, 'label' => false]) @php $marked = auth()->check() && $model && auth()->user()->hasBookmarked($model); @endphp @auth
@csrf
@else @if($label)Simpan@endif @endauth