{% if is_app_root_defined(config.APPLICATION_ROOT) %} {% endif %} {{ main_title if main_title else "D-Tale" }} Login {# Despite the fact we reload these again later on, in order for the header to rendered correctly before the rest of the page is built we need to load them here as well. #}
{{ main_title if main_title else "D-TALE" }} Login
{% for message in get_flashed_messages() %}
{{message}}
{% endfor %} {% if error %}
Error: {{ error }}
{% endif %}
{# In order to get styles to load correctly, we need to reload these files. In CSS, the last style declared takes precedence. #}