+
+
+
-
+
+
-
- If you forgot your password you can reset it.
-
- {{ macros.center_column_hack() }}
+
+ If you forgot your password you can reset it.
+
+
+ {{ macros.white_space_column('col-6') }}
{% endblock content %}
diff --git a/ordr2/templates/account/register.jinja2 b/ordr2/templates/account/register.jinja2
index e619217..0444b2f 100644
--- a/ordr2/templates/account/register.jinja2
+++ b/ordr2/templates/account/register.jinja2
@@ -3,12 +3,11 @@
{% block title %} Ordr | Account Registration {% endblock title %}
{% block content %}
-
-
-
Account Registration
- {{ form.render()|safe }}
-
-
- {{ macros.center_column_hack() }}
+
+
Account Registration
+ {{ form.render()|safe }}
+
+ {{ macros.white_space_column('col-6') }}
+
{% endblock content %}
diff --git a/ordr2/templates/account/registration_completed.jinja2 b/ordr2/templates/account/registration_completed.jinja2
index fb0d4ea..28bbe28 100644
--- a/ordr2/templates/account/registration_completed.jinja2
+++ b/ordr2/templates/account/registration_completed.jinja2
@@ -3,14 +3,11 @@
{% block title %} Ordr | Account Registration {% endblock title %}
{% block content %}
-
-
-
Account Registration Completed
-
Thank you for verifying your email address.
-
Before you can start ordering, an administrator must activate your account
-
You'll receive an email when your account is activated
-
-
- {{ macros.center_column_hack() }}
+
Account Registration Completed
+
Thank you for verifying your email address.
+
Before you can start ordering, an administrator must activate your account
+
You'll receive an email when your account is activated
+
+ {{ macros.white_space_column('col-6') }}
{% endblock content %}
diff --git a/ordr2/templates/account/registration_confirmation.jinja2 b/ordr2/templates/account/registration_confirmation.jinja2
index 6c043ff..b0fe485 100644
--- a/ordr2/templates/account/registration_confirmation.jinja2
+++ b/ordr2/templates/account/registration_confirmation.jinja2
@@ -3,13 +3,11 @@
{% block title %} Ordr | Account Registration {% endblock title %}
{% block content %}
-
-
-
Verify Your Email Address
-
To complete the registration process an email has been sent to you.
-
Please follow the link in the email to verify your address and complete the registration process
-
-
- {{ macros.center_column_hack() }}
+
+
Verify Your Email Address
+
To complete the registration process an email has been sent to you.
+
Please follow the link in the email to verify your address and complete the registration process
+
+ {{ macros.white_space_column('col-6') }}
{% endblock content %}
diff --git a/ordr2/templates/account/reset_password.jinja2 b/ordr2/templates/account/reset_password.jinja2
index afd8d0d..5b9ecdc 100644
--- a/ordr2/templates/account/reset_password.jinja2
+++ b/ordr2/templates/account/reset_password.jinja2
@@ -3,12 +3,10 @@
{% block title %} Ordr | Reset Password {% endblock title %}
{% block content %}
-
-
-
Reset Your Password
- {{ form.render()|safe }}
-
-
- {{ macros.center_column_hack() }}
+
+
Reset Your Password
+ {{ form.render()|safe }}
+
+ {{ macros.white_space_column('col-6') }}
{% endblock content %}
diff --git a/ordr2/templates/layout.jinja2 b/ordr2/templates/layout.jinja2
index b6910c5..94feda7 100644
--- a/ordr2/templates/layout.jinja2
+++ b/ordr2/templates/layout.jinja2
@@ -85,7 +85,14 @@
{% block sidebar %} {% endblock sidebar %}
- {{ macros.flash_messages() }}
+ {% for queue in ('ok', 'warning', 'error') %}
+ {% for message in request.session.pop_flash(queue) %}
+ {% set css_class = 'danger' if queue == 'error' else queue %}
+
+ {{message|safe}}
+
+ {% endfor %}
+ {% endfor %}
{% block content %}
No content
diff --git a/ordr2/templates/macros.jinja2 b/ordr2/templates/macros.jinja2
index 05ee087..5d595cb 100644
--- a/ordr2/templates/macros.jinja2
+++ b/ordr2/templates/macros.jinja2
@@ -1,14 +1,3 @@
-{% macro flash_messages() -%}
- {% for queue in ('ok', 'warning', 'error') %}
- {% for message in request.session.pop_flash(queue) %}
- {% set css_class = 'danger' if queue == 'error' else queue %}
-
- {{message|safe}}
-
- {% endfor %}
- {% endfor %}
-{%- endmacro %}
-
-{% macro center_column_hack() -%}
-