[AccompanyingPeriod] add flashbag message when located temporarily

This commit is contained in:
2021-07-28 13:27:05 +02:00
parent 4cca148f69
commit 4e8dd3b189
2 changed files with 14 additions and 0 deletions

View File

@@ -59,6 +59,19 @@
</form>
</div>
{% endif %}
{% if accompanyingCourse.step != 'DRAFT' and
(accompanyingCourse.locationStatus == 'address' or accompanyingCourse.locationStatus == 'none')
%}
<div class="alert alert-danger">
<div class="message">
{{ 'This course is located at a temporarily address. You should locate this course to an user'|trans }}
</div>
</div>
{% endif %}
<h2>{{ 'Associated peoples'|trans }}</h2>