Put error message in alert name

This commit is contained in:
richard-dds 2018-08-24 16:01:23 -04:00
parent 4cb2447edb
commit 7145c36ed1

View File

@ -52,11 +52,9 @@
</div>
{% if form.environment_names.errors %}
{% call Alert("Missing Environments", level="error") %}
{% for error in form.environment_names.errors %}
<p>{{ error }}</p>
{% endfor %}
{% endcall %}
{% for error in form.environment_names.errors %}
{{ Alert(error, level="error") }}
{% endfor %}
{% endif %}
<div class="block-list project-list-item">