Changeset b389daf in sicp


Ignore:
Timestamp:
May 20, 2015, 12:19:35 PM (9 years ago)
Author:
Ing. Roldan D. Vargas G <rvargas@…>
Branches:
master
Children:
3b22edc
Parents:
aefbfb8
Message:

Se elimina el bloque con instrucciones que genera los campos del formulario, delegando la tarea a la plantilla base_registro.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/usuario/templates/acceso.html

    rbc9a444 rb389daf  
    44{% block titulo_registro %}{% trans 'Autenticación' %}{% endblock %}
    55{% block icons_head %}{% endblock %}
    6 {% block form_inputs %}
    7     {% for field in form.visible_fields %}
    8         <div class="col-xs-12 col-sm-12 col-md-12">
    9             <div class="form-group">
    10                 <div>{{ field.label_tag }}</div>
    11                 <div>
    12                     {% if 'Captcha' in field.label_tag %}
    13                         &#160;<i class="glyphicon glyphicon-refresh js-captcha-refresh" style="cursor: pointer"></i>&#160;
    14                     {% endif %}
    15                     {{ field }}
    16                 </div>
    17                 {% if field.errors %}
    18                     <div class="alert alert-danger" role="alert">{{ field.errors }}</div>
    19                 {% endif %}
    20             </div>
    21         </div>
    22     {% endfor %}
    23 {% endblock %}
    24 
    256{% block form_buttons %}
    267    <div class="row text-center">
Note: See TracChangeset for help on using the changeset viewer.