<div class="text-right text-nowrap">
    <a href="<?php echo e(route('admin.docs.read', $doc->id)); ?>" class="btn btn-link text-secondary p-1" title="Read"><i class="fal fa-lg fa-eye"></i></a>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('Update Docs')): ?>
        <a href="<?php echo e(route('admin.docs.update', $doc->id)); ?>" class="btn btn-link text-secondary p-1" title="Update"><i class="fal fa-lg fa-edit"></i></a>
        <form method="POST" action="<?php echo e(route('admin.docs.move', $doc->id)); ?>" class="d-inline-block" novalidate data-ajax-form>
            <?php echo csrf_field(); ?>
            <?php echo method_field('PATCH'); ?>
            <button type="submit" name="_submit" class="btn btn-link text-secondary p-1" title="Move Up" value="up">
                <i class="fal fa-lg fa-arrow-alt-up"></i>
            </button>
            <button type="submit" name="_submit" class="btn btn-link text-secondary p-1" title="Move Down" value="down">
                <i class="fal fa-lg fa-arrow-alt-down"></i>
            </button>
        </form>
    <?php endif; ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('Delete Docs')): ?>
        <form method="POST" action="<?php echo e(route('admin.docs.delete', $doc->id)); ?>" class="d-inline-block" novalidate data-ajax-form>
            <?php echo csrf_field(); ?>
            <?php echo method_field('DELETE'); ?>
            <button type="submit" name="_submit" class="btn btn-link text-secondary p-1" title="Delete" value="reload_datatables" data-confirm<?php echo e($doc->system ? ' disabled' : ''); ?>>
                <i class="fal fa-lg fa-trash-alt"></i>
            </button>
        </form>
    <?php endif; ?>
</div>