diff --git a/core/static/css/base/amadeus.css b/core/static/css/base/amadeus.css index 97b4d43..83b00e9 100644 --- a/core/static/css/base/amadeus.css +++ b/core/static/css/base/amadeus.css @@ -352,4 +352,11 @@ ul, li { } .form-group{ margin-top: 10px; +} + +/* core/register_user.html classes*/ + +.block-register-inline{ + float: left; + display: inline-block; } \ No newline at end of file diff --git a/core/templates/index.html b/core/templates/index.html index fd1162f..0691929 100644 --- a/core/templates/index.html +++ b/core/templates/index.html @@ -11,12 +11,9 @@ {% block content %}
-
+
- -
diff --git a/core/templates/register_user.html b/core/templates/register_user.html index 5927a4a..47f9770 100644 --- a/core/templates/register_user.html +++ b/core/templates/register_user.html @@ -19,81 +19,84 @@ {% 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);' %} +

{% 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 %} -
- - {% if field.errors %} - + + {% if field.errors %} + + {% endif %} +
{% endfor %} - +
+ +
+
- {% endif %} -
- {% endfor %} -
-
- -
- +
{% endblock %} -- libgit2 0.21.2