Commit 934b5a2c by Őry Máté

dashboard: fix submit buttons' text

parent a02a149f
......@@ -1098,8 +1098,7 @@ class MyProfileForm(forms.ModelForm):
@property
def helper(self):
helper = FormHelper()
helper.layout = Layout('preferred_language', )
helper.add_input(Submit("submit", _("Change language")))
helper.add_input(Submit("submit", _("Save")))
return helper
def save(self, *args, **kwargs):
......@@ -1116,7 +1115,7 @@ class UnsubscribeForm(forms.ModelForm):
@property
def helper(self):
helper = FormHelper()
helper.add_input(Submit("submit", _("Change language")))
helper.add_input(Submit("submit", _("Save")))
return helper
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment