first-pass of popups for job creation for more than just move files, and fix BUG-112 (after move highlighting is broken)

This commit is contained in:
2023-01-04 12:26:25 +11:00
parent 7e115902fc
commit c3971eb495
7 changed files with 21 additions and 12 deletions

View File

@@ -242,7 +242,7 @@ def person(id):
person = Person.query.get(id)
if not person:
st.SetMessage( f"No such person with id: {id}", "danger" )
return render_template("base.html" )
return redirect("/")
form = PersonForm(request.values, obj=person)
return render_template("person.html", person=person, form=form, page_title = page_title)