@if(Auth::user()->can('role.update')) {!! theme()->getSvgIcon("icons/duotune/art/art005.svg", "svg-icon-3") !!} Edit @endif @if($model->id > 5 && Auth::user()->can('role.delete')) {!! Form::open(['method' => 'DELETE','route' => ['roles.destroy', $model->id],'class'=>'']) !!} {{ Form::button(theme()->getSvgIcon("icons/duotune/general/gen027.svg", "svg-icon-3")." Delete", ['type' => 'submit', 'class' => 'delete btn btn-bg-light btn-active-light-danger btn-sm', 'data-bs-toggle' => "tooltip", 'data-bs-custom-class' => "tooltip-dark", 'data-bs-placement'=>"top", 'title'=>"Delete"] ) }} {!! Form::close() !!} @endif