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:
@@ -63,4 +63,4 @@ def covertype(id):
|
||||
covertype = Covertype.query.get(id)
|
||||
covertype_form = CovertypeForm(request.values, obj=covertype)
|
||||
message=""
|
||||
return render_template("covertype.html", covertype=covertype, alert=alert, message=message, covertype_form=covertype_form)
|
||||
return render_template("id_name_form.html", covertype=covertype, alert=alert, message=message, form=covertype_form, page_title='Edit Covertype')
|
||||
|
||||
Reference in New Issue
Block a user