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

{% block stylesheet %}
    <!-- Bootstrap Core CSS -->
    <link href="{{asset('vendor/bootstrap/css/bootstrap.min.css')}}" rel="stylesheet">

    <!-- MetisMenu CSS -->
    <link href="{{asset('vendor/metisMenu/metisMenu.min.css')}}" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="{{asset('dist/css/sb-admin-2.css')}}" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="{{asset('vendor/font-awesome/css/font-awesome.min.css')}}" rel="stylesheet" type="text/css">
{% endblock %}

{% block javascripts %}
    <!-- jQuery -->
    <script src="{{asset('vendor/jquery/jquery.min.js')}}"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="{{asset('vendor/bootstrap/js/bootstrap.min.js')}}"></script>

    <!-- Metis Menu Plugin JavaScript -->
    <script src="{{asset('vendor/metisMenu/metisMenu.min.js')}}"></script>

    <!-- Custom Theme JavaScript -->
    <script src="{{asset('dist/js/sb-admin-2.js')}}"></script>
{% endblock %}

{% block content %}
    <div class="row">
        <h3 class="text-center">REGISTRO DE RAZÓN SOCIAL</h3>
        <div class="col-lg-2 col-md-2 col-sm-2 hidden-xs">
        </div>
        <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12">
            <form class="form-horizontal" action="{{path('alta_rs')}}" method="POST">
                <div class="form-group">
                    <label class="control-label col-sm-2" for="rfc">RFC:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="rfc" name="rfc" placeholder="Ingresa RFC">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2" for="rs">Razón Social:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="rs" name="rs" placeholder="Razón Social">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2" for="domFis">Domicilio Fiscal:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="domFis" name="domFis" placeholder="Ingresa nombre">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2" for="edo">Estado:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="edo" name="edo" placeholder="Estado">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2" for="munDel">Municipio / Delegación:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="munDel" name="munDel" placeholder="Municipio / Delegación">
                    </div>
                </div>                
                <div class="form-group">
                    <label class="control-label col-sm-2" for="colLoc">Colonia / Localidad:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="colLoc" name="colLoc" placeholder="colonia">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2" for="nomRectora">RECTOR GENERAL:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="nomRectora" name="nomRectora" placeholder="Nombre Rector(a)">
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-sm-2" for="nomDirector">DIRECTOR GENERAL:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="nomDirector" name="nomDirector" placeholder="Nombre Director">
                    </div>
                </div>
                <div class="form-group hidden">
                    <label class="control-label col-sm-2" for="cveLic">Licenciatura:</label>
                    <div class="col-sm-10">
                        <select id="cveLic" name="cveLic" class="form-control">
                            {% if licenciaturas is defined %}
                                {% for l in licenciaturas %}
                                    <option value="{{l.ideLic}}">{{l.nomLic}}</option>
                                {% endfor %}
                            {% endif %}
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10 text-right">
                        <button type="submit" class="btn btn-primary">Registrar</button>
                    </div>
                </div>
            </form>
        </div>
    </div>

{% endblock %}