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 condition(id):
|
||||
condition = Condition.query.get(id)
|
||||
condition_form = ConditionForm(request.values, obj=condition)
|
||||
message=""
|
||||
return render_template("condition.html", condition=condition, alert=alert, message=message, condition_form=condition_form)
|
||||
return render_template("id_name_form.html", condition=condition, alert=alert, message=message, form=condition_form, page_title='Edit Condition')
|
||||
|
||||
Reference in New Issue
Block a user