{% extends 'CmBundle:Z:baseDos.html.twig' %}

{% block stylesheet %}
{% endblock %}

{% block javascripts %}
    <script src="{{asset('js/misJs/alumno.js')}}"></script>
{% endblock %}

{% block content %}
    <div class="row">
        <div class="col-lg-12">
            <h1 class="page-header">Bienvenido {{p.nomPro}} {{p.apePat}} {{p.apeMat}}</h1>
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <i class="fa fa-info fa-fw"></i> DATOS GENERALES
                </div>
                <!-- /.panel-heading -->
                <div class="panel-body">
                    <div class="row">
                        <div class="col-lg-12">
                            <form role="form" action="{{path('pa_alumno_actualizar')}}" method="POST">
                                <div class="col-lg-4">
                                    <div class="form-group">
                                        <label>Nombre(s):</label>
                                        <input class="form-control" id="nomAlu" name="nomAlu" type="text" placeholder="Escribe tu nombre" value="{{p.nomPro}}">
                                        <input id="ideAlu" name="ideAlu" type="hidden" value="{{p.idePro}}">
                                        {#<p class="help-block">Example block-level help text here.</p>#}
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="form-group">
                                        <label>Apellido Paterno:</label>
                                        <input class="form-control" id="apePat" name="apePat" type="text" placeholder="Escribe tu Apellido Paterno" value="{{p.apePat}}">
                                        {#<p class="help-block">Example block-level help text here.</p>#}
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="form-group">
                                        <label>Apellido Materno:</label>
                                        <input class="form-control" id="apeMat" name="apeMat" type="text" placeholder="Escribe tu Apellido Materno" value="{{p.apeMat}}">
                                        {#<p class="help-block">Example block-level help text here.</p>#}
                                    </div>
                                </div>
                                <div class="col-lg-4">
                                    <div class="form-group">
                                        <label>RFC</label>
                                        <input class="form-control" id="curp" name="curp" placeholder="Escribe tu CURP" value="{{p.rfc}}"  onblur="curp2date(this.value);">
                                    </div>
                                </div>
                                
                                <div class="col-lg-12 text-right">
                                    <button type="submit" class="btn btn-info disabled">Actualizar</button>
                                    {#<button type="reset" class="btn btn-default">Reset Button</button>#}
                                </div>
                            </form>
                        </div>
                        <!-- /.col-lg-12 (nested) -->
                    </div>
                    <!-- /.row (nested) -->
                </div>
                <!-- /.panel-body -->
            </div>
            <!-- /.panel -->
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
{% endblock %}
