<div class="col-12 d-flex justify-content-end mb-3">
    @if ($mode != 'show')
        @if ($mode == 'create')
            <button wire:click.prevent="store()" class="btn btn-primary mr-1 mb-1">
                <i class="far fa-save"></i>
                Guardar
            </button>
        @elseif ($mode == 'edit')
            <button wire:click.prevent="update()" class="btn btn-primary mr-1 mb-1">
                <i class="far fa-save"></i>
                Guardar
            </button>
        @endif
    @endif
    @if ($mode == 'show' && $status == 'open')
        <a href="{{ route('claims.edit', $claim_id) }}" class="btn btn-secondary">
            <i class="fas fa-pencil-alt mr-1"></i> Editar
        </a>
    @endif

    <a href="{{ route('claims') }}" class="btn btn-light-secondary mr-1 mb-1">
        <i class="fas fa-ban"></i>
        Cancelar
    </a>
</div>
