Prepare app for working behind a proxy (nginx).
Adapt user form
This commit is contained in:
@@ -6,13 +6,6 @@
|
||||
<body class="presentation-page bg-gray-200">
|
||||
{% include 'navbar.html' %}
|
||||
{% include 'header.html' %}
|
||||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages%}
|
||||
{% for message in messages%}
|
||||
<p>{{message}}</p>
|
||||
{%endfor%}
|
||||
{%endif%}
|
||||
{%endwith%}
|
||||
<hr>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
@@ -39,6 +32,15 @@
|
||||
<p class="mb-4 text-sm mx-auto">
|
||||
{% block content_footer %}{% endblock %}
|
||||
</p>
|
||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages%}
|
||||
{% for category, message in messages%}
|
||||
<div class="alert alert-{{category}}" role="alert">
|
||||
{{message}}
|
||||
</div>
|
||||
{%endfor%}
|
||||
{%endif%}
|
||||
{%endwith%}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user