4 lines
234 B
PHP
Executable File
4 lines
234 B
PHP
Executable File
@if( Auth::user()->can('Administrator')
|
|
|| Auth::user()->can(ucfirst($url).' erstellen'))
|
|
<a href="#" class="btn btn-success add-modal" data-type="{{ $url }}" @if(isset($title)) data-title="{{ $title }}" @endif>{{ $label }}</a>
|
|
@endif |