<nav class="navbar-default salto-menu">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <form class="navbar-form" style="margin-bottom: 0px;" id="form-alumno-filtro">
                <div class="row">
                    {{ $nombre = '' }}
                    <div class="col-lg-5 col-sm-5 col-xs-12">

                        @if (array_key_exists('nombre', $data))
                            @if ($data['nombre'] != null)
                                <?php $nombre = $data['nombre']; ?>
                            @endif
                        @endif
                        <input type="text" id="f_nombre" name="f_nombre" class="form-control" placeholder="Nombre"
                            value="{{ $nombre }}" style="width:200px;">
                    </div>

                    <div class="col-lg-5 col-sm-5 col-xs-12">

                        <?php
                        $estado = '';
                        $estado2 = '';
                        $estado3 = 'selected';
                        if (array_key_exists('estado', $data)) {
                            if ($data['estado'] == 0) {
                                $estado2 = 'selected';
                                $estado3 = '';
                            } else {
                                if ($data['estado'] == 1) {
                                    $estado3 = '';
                                    $estado = 'selected';
                                }
                            }
                        }
                        ?>

                        <select name="f_estado" id="f_estado" class="form-control" style="width:214.14px;">
                            <option value="2" {{ $estado3 }}>Estado (todas)</option>
                            <option value="1" {{ $estado }}>M.G.A.</option>
                            <option value="0" {{ $estado2 }}>M.S.C.</option>
                        </select>
                    </div>

                    <div class="col-lg-2 col-sm-2 col-xs-12">

                        <div class="btn-group">
                            <button type="button" class="btn btn-info" form="form-alumno-filtro"
                                style="margin-bottom: 0px;" title="Buscar"
                                onclick="filtro_alumno_tesis(this.form);"><span class="fa fa-search"></span></button>
                            <button type="button" class="btn btn-light" form="form-alumno" style="margin-bottom: 0px"
                                title="Limpiar Filtros" onclick="listar_alumno_tesis();"><span
                                    class="fa fa-undo"></span></button>
                        </div>
                    </div>
                </div>

            </form>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>
