<div wire:ignore.self class="modal fade" tabindex="-1" role="dialog" id="theModal-SK">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            <div class="modal-header bg-primary">
                <h5 class="modal-title">
                    <b>{{ $componentName }}</b> | {{ $selected_SK_id > 0 ? 'EDITAR' : 'CREAR' }}
                </h5>
                <h6 class="text-center text-warning" wire:loading>ESPERE UN MOMENTO POR FAVOR</h6>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-sm-6 col-md-12">
                        <div class="form-group">
                            <label>Habilidad</label>
                            <textarea class="form-control" wire:model.lazy="info" rows="3" placeholder="Ingrese habilidad"></textarea>
                                @error('info')
                                    <span class="text-danger err">{{ $message }}</span>
                                @enderror
                        </div>
                    </div>

                </div><!-- row -->
            </div><!-- modal-body -->
            <div class="modal-footer">
                <button type="button" class="btn btn-outline-primary" wire:click.prevent="resetUI()"
                    data-bs-dismiss="modal">CERRAR</button>

                @if ($selected_SK_id < 1)
                    <button type="button" class="btn btn-primary close-modal"
                        wire:click.prevent="StoreSK()">GUARDAR</button>
                @else
                    <button type="button" class="btn btn-primary close-modal"
                        wire:click.prevent="UpdateSK()">ACTUALIZAR</button>
                @endif
            </div>
        </div><!-- modal-content -->

    </div>
</div>
