{% extends 'frontend/layout.html.twig' %}
{% block title %}Aspirante Confirm Plan{% endblock %}
{% block content %}
<section class="section" id="pricing">
<!-- Content -->
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12 col-lg-12 text-center">
<div class="section-heading">
<!-- Heading -->
<h2 class="">
<i class="ti-alert"></i> <b>Para editar sus datos de Preregistro, ingrese los siguientes datos:</b>
</h2>
</div>
{{ form_start(form) }}
<div class="row">
<div class="col-lg-6">
{{ form_row(form.curp, { 'label': 'CURP' }) }}
</div>
<div class="col-lg-6">
{{ form_row(form.clur, { 'label': 'Folio Único de Registro de Tarjeta Violeta' }) }}
</div>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</section>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type="text/javascript">
form = $("form[name={{ form.vars.name }}]");
form.validate({
rules: {
"busca_preregistro[curp]": {
required: true,
minlength: 18,
maxlength: 18,
},
"busca_preregistro[clur]": {
required: true,
minlength: 9,
maxlength: 9,
}
},
});
$("#busca_preregistro_curp, #busca_preregistro_clur").keyup(function () {
$(this).val($(this).val().toUpperCase());
});
$(document).on('submit','form',function(){
if(form.valid()) {
helpers.blockUI();
return true;
}
});
</script>
{% endblock %}