Move "save draft" alert to top of the stack

This commit is contained in:
richard-dds 2018-11-12 16:51:53 -05:00
parent 9e4cec9a6a
commit b5fbeb5ca1

View File

@ -9,6 +9,12 @@
{% include 'requests/review_menu.html' %} {% include 'requests/review_menu.html' %}
{% if saved_draft %}
{% call Alert('Draft saved', level='success') %}
{% endcall %}
{% endif %}
{% if jedi_request.is_pending_financial_verification and not f.errors and not extended %} {% if jedi_request.is_pending_financial_verification and not f.errors and not extended %}
{{ Alert('Pending Financial Verification', fragment="fragments/pending_financial_verification.html") }} {{ Alert('Pending Financial Verification', fragment="fragments/pending_financial_verification.html") }}
{% endif %} {% endif %}
@ -19,7 +25,6 @@
<financial inline-template v-bind:initial-data='{{ f.data|mixedContentToJson }}'> <financial inline-template v-bind:initial-data='{{ f.data|mixedContentToJson }}'>
<div class="col"> <div class="col">
{% if extended %} {% if extended %}
{{ Alert('Manually enter Task Order information', {{ Alert('Manually enter Task Order information',
message="Additional fields are displayed below, where you can manually enter financial information as documented in your Task Order.", message="Additional fields are displayed below, where you can manually enter financial information as documented in your Task Order.",
@ -42,11 +47,6 @@
{% endcall %} {% endcall %}
{% endif %} {% endif %}
{% if saved_draft %}
{% call Alert('Draft saved', level='success') %}
{% endcall %}
{% endif %}
<form autocomplete="off" enctype="multipart/form-data"> <form autocomplete="off" enctype="multipart/form-data">
{{ f.csrf_token }} {{ f.csrf_token }}