mirror of
https://github.com/logos-co/open-law.git
synced 2025-02-13 07:16:25 +00:00
remove comment
This commit is contained in:
parent
1ca805dbef
commit
55f8e2f602
@ -26,7 +26,6 @@ class BooksView(ProtectedModelView):
|
||||
form = self.delete_form()
|
||||
|
||||
if self.validate_form(form):
|
||||
# id is InputRequired()
|
||||
id = form.id.data
|
||||
|
||||
model = self.get_one(id)
|
||||
|
@ -91,7 +91,6 @@ class BookContributorView(ProtectedModelView):
|
||||
form = self.delete_form()
|
||||
|
||||
if self.validate_form(form):
|
||||
# id is InputRequired()
|
||||
id = form.id.data
|
||||
|
||||
model = self.get_one(id)
|
||||
|
@ -38,7 +38,6 @@ class CollectionsView(ProtectedModelView):
|
||||
form = self.delete_form()
|
||||
|
||||
if self.validate_form(form):
|
||||
# id is InputRequired()
|
||||
id = form.id.data
|
||||
|
||||
model = self.get_one(id)
|
||||
|
@ -37,7 +37,6 @@ class CommentView(ProtectedModelView):
|
||||
form = self.delete_form()
|
||||
|
||||
if self.validate_form(form):
|
||||
# id is InputRequired()
|
||||
id = form.id.data
|
||||
|
||||
model = self.get_one(id)
|
||||
|
@ -36,7 +36,6 @@ class InterpretationView(ProtectedModelView):
|
||||
form = self.delete_form()
|
||||
|
||||
if self.validate_form(form):
|
||||
# id is InputRequired()
|
||||
id = form.id.data
|
||||
|
||||
model = self.get_one(id)
|
||||
|
@ -35,7 +35,6 @@ class SectionsView(ProtectedModelView):
|
||||
form = self.delete_form()
|
||||
|
||||
if self.validate_form(form):
|
||||
# id is InputRequired()
|
||||
id = form.id.data
|
||||
|
||||
model = self.get_one(id)
|
||||
|
@ -31,7 +31,6 @@ class TagView(ProtectedModelView):
|
||||
form = self.delete_form()
|
||||
|
||||
if self.validate_form(form):
|
||||
# id is InputRequired()
|
||||
id = form.id.data
|
||||
|
||||
model = self.get_one(id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user