use 'text=' in the SaveButton kwargs and add in a default for the save button text

This commit is contained in:
leigh-mil
2019-10-31 10:32:26 -04:00
parent 06239c94ba
commit f3dcca8368
2 changed files with 4 additions and 4 deletions

View File

@@ -22,7 +22,7 @@
{{ TextInput(application_form.name, optional=False) }}
{{ TextInput(application_form.description, paragraph=True, optional=True, showOptional=False) }}
<div class="action-group action-group--tight">
{{ SaveButton('common.save_changes'|translate) }}
{{ SaveButton(text='common.save_changes'|translate) }}
</div>
</form>
</base-form>