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

@@ -3,6 +3,7 @@
{% from "components/text_input.html" import TextInput %}
{% from "components/checkbox_input.html" import CheckboxInput %}
{% from "components/icon.html" import Icon %}
{% from 'components/save_button.html' import SaveButton %}
{% block content %}
<base-form inline-template>
@@ -38,7 +39,7 @@
</div>
</div>
<div class="action-group">
<savebutton text="{{ 'common.sign' | translate }}" :disabled="disabled"></savebutton>
{{ SaveButton(text=('common.sign' | translate)) }}
<a
href="{{ url_for("portfolios.ko_review", portfolio_id=portfolio_id, task_order_id=task_order_id) }}"
class="action-group__action icon-link">