<div class='btn-group btn-group-sm'>
    @can('customFields.edit')
        <a href="{{ route('customFields.edit', $id) }}" class='btn btn-link'> <i class="fas fa-edit"></i> </a>
    @endcan
    @can('customFields.destroy')
        {!! Form::open(['route' => ['customFields.destroy', $id], 'method' => 'delete']) !!}
        {!! Form::button('<i class="fas fa-trash"></i>', [
        'type' => 'submit',
        'class' => 'btn btn-link text-danger',
        'onclick' => "return confirm('Are you sure?')"
        ]) !!}
        {!! Form::close() !!}
    @endcan
</div>
