created generic id_name_form.html and made condition, covertype, genre, owned, publisher & rating use it for single edit page
This commit is contained in:
2
owned.py
2
owned.py
@@ -63,4 +63,4 @@ def owned(id):
|
||||
owned = Owned.query.get(id)
|
||||
owned_form = OwnedForm(request.values, obj=owned)
|
||||
message=""
|
||||
return render_template("owned.html", owned=owned, alert=alert, message=message, owned_form=owned_form)
|
||||
return render_template("id_name_form.html", owned=owned, alert=alert, message=message, form=owned_form, page_title='Edit Owned Type' )
|
||||
|
||||
Reference in New Issue
Block a user