<div class="">
    <div class="page-title">
        <div class="title_left">
            <h3>Carrera</h3>
        </div>
    </div>

    <div class="clearfix"></div>

    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
                <div class="x_title">
                    <h2>Consultar una Carrera</h2>
                    <div class="clearfix"></div>
                </div>
                <div class="x_content">
                    <form id="form-nueva" data-parsley-validate class="form-horizontal form-label-left"
                        enctype="multipart/form-data">
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-4 col-sm-4 col-xs-12 text-left text-md-right">
                                <label class="text-sm-left" for="nombre">Nombre <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <input type="text" id="nombre" name="nombre" required="required"
                                    class="form-control form-control-sm" value="{{ $car->nombre }}" disabled>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-4 col-sm-4 col-xs-12 text-left text-md-right">
                                <label class="text-sm-left" for="abre">Abreviatura
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <input type="text" id="abre" name="abre" required="required"
                                    class="form-control form-control-sm" value="{{ $car->abreviatura }}" disabled>
                            </div>
                        </div>
                        <div class="mb-1 row">
                            <div class="col-form-label col-md-4 col-sm-4 col-xs-12 text-left text-md-right">
                                <label class="text-sm-left" for="tipo">Tipo
                                    <span class="required">*</span>
                                </label>
                            </div>
                            <div class="col-md-4 col-sm-4 col-xs-12">
                                <select id="tipo" name="tipo" required="required"
                                    class="form-control form-control-sm" disabled>
                                    <option value="">--Seleccione--</option>
                                    @if ($car->tipo == 'LICENCIATURA')
                                        <option value="L" selected>Licenciatura</option>
                                    @else
                                        <option value="M" selected>Maestría</option>
                                    @endif
                                </select>
                            </div>
                        </div>
                        @if (!empty($car->logo))
                            <div class="mb-1 row">
                                <div class="control-form-label col-md-4 col-sm-4 col-xs-12 text-left text-sm-right">
                                    <label class="text-sm-left" for="segU">Logo de la carrera
                                    </label>
                                </div>
                                <div class="col-md-4 col-sm-4 col-xs-12">
                                    <img src="img/logo_carreras/{{ $car->logo }}"
                                        class="rounded col-md-12 col-sm-12 col-xs-12" alt="">
                                </div>
                            </div>
                        @endif

                        <div class="ln_solid"></div>
                        <div class="mb-1 row">
                            <div class="col-md-3 col-sm-12"></div>
                            <div class="col-md-6 col-sm-12">
                                <div class="row">
                                    <div class="col">
                                        <button class="btn btn-dark btn-block" type="button"
                                            onclick="listado_carrera()"><i class=" fa  fa-times"></i>
                                            Cancelar</button>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-3 col-sm-12"></div>
                        </div>
                    </form>
                    <br>

                </div>
            </div>
        </div>
    </div>
</div>
