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

{% block stylesheet %}
    <link rel="stylesheet" type="text/css" href="{{asset('bootstrap-select/dist/css/bootstrap-select.css')}}"/>
{% endblock %}

{% block javascripts %}
    <script src="{{asset('bootstrap-select/dist/js/bootstrap-select.js')}}"></script>
    <script src="{{asset('js/misJs/validarRegistroCredencial.js')}}"></script>
{% endblock %}


{% block content %}
    <div class="row">
        <div class="col-lg-12">
            <h1>REGISTRAR CREDENCIAL</h1>
        </div>
        <div class="col-lg-12">
            <form method="POST" action="{{path('registrar_credenciales')}}" id="formulario-credencial">
                <div class="form-row">
                    <div class="form-group col-md-6">
                        <label for="folio">Folio</label>
                        <input type="text" class="form-control" id="folio" name="folio" placeholder="Folio Credencial" autofocus="true">
                    </div>
                </div>
                <div class="form-row">
                    <div class="form-group col-md-6">
                        <label for="fechaA">Vigencia A</label>
                        <input type="date" class="form-control" id="fechaA" name="fechaA" placeholder="Fecha A" value="2020-01-01">
                    </div>
                    <div class="form-group col-md-6">
                        <label for="fechaB">Vigencia B</label>
                        <input type="date" class="form-control" id="fechaB" name="fechaB" placeholder="Fecha B" value="2021-01-01">
                    </div>
                </div>
                <button type="submit" class="btn btn-primary">Registrar</button>
            </form>
        </div>
    </div>
{% endblock %}
