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

@@ -4,6 +4,7 @@
{% from "components/icon.html" import Icon %}
{% from "components/modal.html" import Modal %}
{% from "components/text_input.html" import TextInput %}
{% from 'components/save_button.html' import SaveButton %}
{% set secondary_breadcrumb = 'portfolios.applications.new_application_title' | translate %}
@@ -76,10 +77,7 @@
</div>
<div class="action-group">
<savebutton
text="{{ 'portfolios.applications.create_button_text' | translate }}"
:disabled="disabled">
</savebutton>
{{ SaveButton(text=('portfolios.applications.create_button_text' | translate)) }}
</div>
</form>
</new-application>