Skip to content

Commit

Permalink
Merge pull request #192 from nyaruka/tweak_update_button_name
Browse files Browse the repository at this point in the history
Change default button name for update views
  • Loading branch information
rowanseymour authored Jun 26, 2024
2 parents 4874f89 + fa5f688 commit f7e8851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smartmin/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ def get_context_data(self, **kwargs):
class SmartUpdateView(SmartModelFormView, UpdateView):
default_template = "smartmin/update.html"
exclude = ("created_by", "modified_by")
submit_button_name = _("Save Changes")
submit_button_name = _("Save")

# allows you to specify the name of URL to use for a remove link that will automatically be shown
delete_url = None
Expand Down

0 comments on commit f7e8851

Please sign in to comment.