Move Enviroment error message div to New Project form

This commit is contained in:
leigh-mil 2018-10-23 11:01:01 -04:00
parent 4bd42a7bc0
commit 0dd9ab9684
2 changed files with 6 additions and 6 deletions

View File

@ -17,9 +17,3 @@
{{ TextInput(form.description, paragraph=True) }} {{ TextInput(form.description, paragraph=True) }}
</div> </div>
</div> </div>
<div> {# this extra div prevents this bug: https://www.pivotaltracker.com/story/show/160768940 #}
<div v-cloak v-for="title in errors" :key="title">
{{ Alert(message=None, level="error", vue_template=True) }}
</div>
</div>

View File

@ -39,6 +39,12 @@
{% include "fragments/edit_project_form.html" %} {% include "fragments/edit_project_form.html" %}
<div> {# this extra div prevents this bug: https://www.pivotaltracker.com/story/show/160768940 #}
<div v-cloak v-for="title in errors" :key="title">
{{ Alert(message=None, level="error", vue_template=True) }}
</div>
</div>
<div class="block-list project-list-item"> <div class="block-list project-list-item">
<header class="block-list__header block-list__header--grow"> <header class="block-list__header block-list__header--grow">
<h2 class="block-list__title">Project Environments</h2> <h2 class="block-list__title">Project Environments</h2>