Fix account.njk error on fresh new account with username and password

Fixes #24
This commit is contained in:
Alice Gaudon 2021-02-18 11:43:16 +01:00
parent 9d5fa9d937
commit f07f7cacee
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@
<p>{{ field.name }}: {{ field.value }}</p>
{% endfor %}
<p>Contact email: {{ main_email.email }} <a href="#emails">More...</a></p>
{% if main_email.email | length > 0 %}
<p>Contact email: {{ main_email.email }} <a href="#emails">More...</a></p>
{% endif %}
</div>
<section class="panel">