Refactor label batch view to use master3
This commit is contained in:
parent
efdbc3c5b5
commit
d20601c359
2 changed files with 35 additions and 26 deletions
|
@ -336,7 +336,7 @@ class BatchMasterView(MasterView):
|
|||
|
||||
form = self.make_form(batch)
|
||||
if self.request.method == 'POST':
|
||||
if form.validate():
|
||||
if self.validate_form(form):
|
||||
self.save_edit_form(form)
|
||||
self.request.session.flash("{} has been updated: {}".format(
|
||||
self.get_model_title(), self.get_instance_title(batch)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue