<div class="btn-group" role="group">
    <button class="btn btn-sm btn-primary view-trainer" data-id="{{ $trainer->id }}" title="View">
        <i class="fas fa-eye"></i>
    </button>
    <button class="btn btn-sm btn-warning edit-trainer" data-id="{{ $trainer->id }}" title="Edit">
        <i class="fas fa-edit"></i>
    </button>
    <button class="btn btn-sm btn-danger delete-trainer" data-id="{{ $trainer->id }}" title="Delete">
        <i class="fas fa-trash"></i>
    </button>
</div>