Commit 8fe2fa1e authored by PJ Janse van Rensburg's avatar PJ Janse van Rensburg

Fix indentation.

parent f68f9f7e
......@@ -2205,7 +2205,8 @@ class BaseModelView(BaseView, ActionsMixin):
# message is flashed from within delete_model if it fails
if self.delete_model(model):
count = 1
flash(ngettext('Record was successfully deleted.',
flash(
ngettext('Record was successfully deleted.',
'%(count)s records were successfully deleted.',
count, count=count), 'success')
return redirect(return_url)
......
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 to comment