From a05687ab68c959a8439cd66bc4c5d8c111f9f55b Mon Sep 17 00:00:00 2001 From: fbormann Date: Mon, 31 Oct 2016 11:37:02 -0300 Subject: [PATCH] fixing after merge, now it's working again #205 --- core/templates/register_user.html | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------- 1 file changed, 63 insertions(+), 65 deletions(-) diff --git a/core/templates/register_user.html b/core/templates/register_user.html index c2e2f83..188953c 100644 --- a/core/templates/register_user.html +++ b/core/templates/register_user.html @@ -6,6 +6,10 @@ {% block nav %} {% endblock %} +{% block sidebar %} + +{% endblock sidebar %} + {% block content %} {% if messages %} @@ -19,85 +23,79 @@ {% endfor %} {% endif %}
-
-
- -
-
+
+
+ +
+
-
+
-
-
+ {% 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);' %} - {% else %} - {% render_field field class='form-control' %} - {{ field.help_text }} - {% endif %} -
+ {% 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);' %} - {% if field.errors %} - - {% endif %} -
+ {% 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 %}
+ {% endfor %} +
+ +
+ +
-
- +
{% endblock %} -- libgit2 0.21.2