You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to change this line 62 in project.py:
"return render_template('deleteconfirmation.html', item=itemToDelete)"
Changed to match the html file name and variable requirements for given template html.
“return render_template('deletemenuitem.html',restaurant_id=restaurant_id, item=itemToDelete)”
Also I did a search on This repository and there is no files named deleteconfirmation.html yet it is referenced it some of your scripts.
The text was updated successfully, but these errors were encountered:
Hi, was working through the course lessons and noticed the following:
Html file is here: https://github.com/lobrown/Full-Stack-Foundations/blob/master/Lesson-3/14_Delete-Menu-Item/deletemenuitem.html
Project.py is here: https://github.com/lobrown/Full-Stack-Foundations/blob/master/Lesson-3/15_Delete-Menu-Item-Solution/project.py#L62
I had to change this line 62 in project.py:
"return render_template('deleteconfirmation.html', item=itemToDelete)"
Changed to match the html file name and variable requirements for given template html.
“return render_template('deletemenuitem.html',restaurant_id=restaurant_id, item=itemToDelete)”
Also I did a search on This repository and there is no files named deleteconfirmation.html yet it is referenced it some of your scripts.
The text was updated successfully, but these errors were encountered: