diff --git a/apps/authentication/templates/authentication/face_capture.html b/apps/authentication/templates/authentication/face_capture.html index 1c63f3941..4d0f66096 100644 --- a/apps/authentication/templates/authentication/face_capture.html +++ b/apps/authentication/templates/authentication/face_capture.html @@ -2,29 +2,41 @@ {% load i18n %} {% load static %} -{% block title %} -
- {% trans 'Face Recognition' %} -
-{% endblock %} {% block content %} -
+ + + + {% if 'code' in form.errors %} +

{{ form.code.errors.as_text }}

+ {% endif %} + + {% csrf_token %} - {% if 'code' in form.errors %} -

{{ form.code.errors.as_text }}

- {% endif %}
diff --git a/apps/templates/_base_only_content.html b/apps/templates/_base_only_content.html index af02b18e7..9b441299e 100644 --- a/apps/templates/_base_only_content.html +++ b/apps/templates/_base_only_content.html @@ -22,6 +22,9 @@ .ibox-content { padding: 30px; } + .ibox-context-margin { + margin: 20px 0 0 0; + } {% block custom_head_css_js %} {% endblock %} @@ -34,7 +37,7 @@

{% block title %}{% endblock %}

-
+
{% block content %} {% endblock %}