Closed bhpayne closed 3 years ago
On "review derivation" pages like https://derivationmap.net/review_derivation/608598/ the "return to main menu" button triggers no response.
The HTML source code for the page includes value="return to main menu" within a form. I investigated whether the controller catches the value?
value="return to main menu"
The controller.py file https://github.com/allofphysicsgraph/proofofconcept/blob/gh-pages/v7_pickle_web_interface/flask/controller.py has def review_derivation which includes
def review_derivation
elif request.form["submit_button"] == "return to main menu": logger.info("[trace page end " + trace_id + "]") return redirect(url_for("index", referrer="review_derivation"))
Actually, the value="return to main menu" was outside the form tag in review_derivation.html
form
On "review derivation" pages like https://derivationmap.net/review_derivation/608598/ the "return to main menu" button triggers no response.
The HTML source code for the page includes
value="return to main menu"
within a form. I investigated whether the controller catches the value?The controller.py file https://github.com/allofphysicsgraph/proofofconcept/blob/gh-pages/v7_pickle_web_interface/flask/controller.py has
def review_derivation
which includes