Remove unnecessary savebutton vue component and create SaveButton Macro

This commit is contained in:
leigh-mil
2019-04-02 16:01:08 -04:00
parent 02cc18a93f
commit 1aaf4421ab
13 changed files with 25 additions and 49 deletions

View File

@@ -10,7 +10,7 @@
{% from "components/alert.html" import Alert %}
{% from "components/review_field.html" import ReviewField %}
{% from "components/upload_input.html" import UploadInput %}
{% from 'components/save_button.html' import SaveButton %}
{% block content %}
<ko-review inline-template v-bind:initial-data='{{ form.data|tojson }}'>
@@ -103,7 +103,7 @@
{% endblock %}
<div class='action-group'>
<savebutton text="Continue" :disabled="disabled"></savebutton>
{{ SaveButton(text="Continue") }}
</div>
</form>