From 491a6d8c743dff74633814632a0e5ff3bc13c512 Mon Sep 17 00:00:00 2001 From: ailsoncgt Date: Tue, 1 Nov 2016 14:16:18 -0300 Subject: [PATCH] Deleting row class into for #14 --- core/templates/register_user.html | 86 ++++++++++++++++++++++++++++++++++++++++++-------------------------------------------- 1 file changed, 42 insertions(+), 44 deletions(-) diff --git a/core/templates/register_user.html b/core/templates/register_user.html index d7da776..33d1fd7 100644 --- a/core/templates/register_user.html +++ b/core/templates/register_user.html @@ -38,53 +38,51 @@ {% csrf_token %} {% trans 'User Register' %} {% for field in form %} -
-
- {% if field.field.required %} - - {% else %} - - {% endif %} -
- {% if field.auto_id == 'id_birth_date' %} - {% render_field field class='form-control input-sm date-picker' %} - - {{ field.help_text }} - {% elif field.auto_id == 'id_image' %} - {% render_field field class='form-control input-sm' %} -
- - - - -
- {% elif field.auto_id == 'id_cpf' %} - {% render_field field class='form-control' onkeypress='campoNumerico(this,event); formatarCpf(this,event);' %} - - {% elif field.auto_id == 'id_phone' %} - {% render_field field class='form-control' onkeypress='campoNumerico(this,event); formatarTelefone(this,event);' %} +
+ {% if field.field.required %} + {% else %} - {% render_field field class='form-control' %} - {{ field.help_text }} + + {% endif %} +
+ {% if field.auto_id == 'id_birth_date' %} + {% render_field field class='form-control input-sm date-picker' %} + + {{ field.help_text }} + {% elif field.auto_id == 'id_image' %} + {% render_field field class='form-control input-sm' %} +
+ + + + +
+ {% elif field.auto_id == 'id_cpf' %} + {% render_field field class='form-control' onkeypress='campoNumerico(this,event); formatarCpf(this,event);' %} + + {% elif field.auto_id == 'id_phone' %} + {% render_field field class='form-control' onkeypress='campoNumerico(this,event); formatarTelefone(this,event);' %} + {% else %} + {% render_field field class='form-control' %} + {{ field.help_text }} + {% endif %} +
+ + {% if field.errors %} + {% endif %}
- - {% if field.errors %} - - {% endif %} -
-
{% endfor %}
-- libgit2 0.21.2