Place the error message down
This commit is contained in:
parent
1f61efb1b6
commit
02f0a7cbb7
1 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,6 @@
|
||||||
{% extends "base.askama.html" %}
|
{% extends "base.askama.html" %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% if error_message.len() > 0 %}
|
|
||||||
<div class="alert alert-warning" role="alert">{{ error_message }}</div>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<p>{{ strings.description }}</p>
|
<p>{{ strings.description }}</p>
|
||||||
|
|
||||||
<h2>{{ strings.title }}</h2>
|
<h2>{{ strings.title }}</h2>
|
||||||
|
@ -63,6 +59,10 @@
|
||||||
<div class="invalid-feedback">{{ strings.captcha_field.invalid_feedback }}</div>
|
<div class="invalid-feedback">{{ strings.captcha_field.invalid_feedback }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if error_message.len() > 0 %}
|
||||||
|
<div class="alert alert-warning" role="alert">{{ error_message }}</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="d-grid">
|
<div class="d-grid">
|
||||||
<button type="submit" class="btn btn-primary">{{ strings.submit }}</button>
|
<button type="submit" class="btn btn-primary">{{ strings.submit }}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue