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 FormMixin from '../../mixins/form'
|
||||||
import optionsinput from '../options_input'
|
import optionsinput from '../options_input'
|
||||||
import textinput from '../text_input'
|
import textinput from '../text_input'
|
||||||
|
import localdatetime from '../local_datetime'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'financial',
|
name: 'financial',
|
||||||
@ -10,6 +11,7 @@ export default {
|
|||||||
components: {
|
components: {
|
||||||
optionsinput,
|
optionsinput,
|
||||||
textinput,
|
textinput,
|
||||||
|
localdatetime,
|
||||||
},
|
},
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
@ -43,7 +43,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if saved_draft %}
|
{% if saved_draft %}
|
||||||
{% call Alert('Draft saved', level='info') %}
|
{% call Alert('Draft saved', level='success') %}
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@ -185,6 +185,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock form %}
|
{% endblock form %}
|
||||||
|
{% if saved_draft %}
|
||||||
|
Draft saved at <localdatetime :timestamp="new Date().toString()"></localdatetime>
|
||||||
|
{% endif %}
|
||||||
{% block next %}
|
{% block next %}
|
||||||
<div class='action-group'>
|
<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' />
|
<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