Show feedback when draft is saved
This commit is contained in:
parent
f67215d142
commit
9e4cec9a6a
@ -1,6 +1,7 @@
|
||||
import FormMixin from '../../mixins/form'
|
||||
import optionsinput from '../options_input'
|
||||
import textinput from '../text_input'
|
||||
import localdatetime from '../local_datetime'
|
||||
|
||||
export default {
|
||||
name: 'financial',
|
||||
@ -10,6 +11,7 @@ export default {
|
||||
components: {
|
||||
optionsinput,
|
||||
textinput,
|
||||
localdatetime,
|
||||
},
|
||||
|
||||
props: {
|
||||
|
@ -43,7 +43,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if saved_draft %}
|
||||
{% call Alert('Draft saved', level='info') %}
|
||||
{% call Alert('Draft saved', level='success') %}
|
||||
{% endcall %}
|
||||
{% endif %}
|
||||
|
||||
@ -185,6 +185,9 @@
|
||||
</div>
|
||||
|
||||
{% endblock form %}
|
||||
{% if saved_draft %}
|
||||
Draft saved at <localdatetime :timestamp="new Date().toString()"></localdatetime>
|
||||
{% endif %}
|
||||
{% block next %}
|
||||
<div class='action-group'>
|
||||
<input formmethod="post" formaction="{{ url_for('requests.financial_verification', request_id=jedi_request.id, extended=extended) }}" type='submit' class='usa-button usa-button-primary' value='Save & Continue' />
|
||||
|
Loading…
x
Reference in New Issue
Block a user