Skip to content

Commit

Permalink
Update filename html
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnykoo84 committed Jun 11, 2024
1 parent 71ed821 commit 718a77b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def add_plant():
}
data.append(new_plant)
return redirect(url_for('get_all_plants'))
return render_template("add_plant.html")
return render_template("add.html")

@app.route("/delete/<int:id>", methods=['POST'])
def delete_plant(id):
Expand Down Expand Up @@ -103,7 +103,7 @@ def edit_plant(id):
return redirect(url_for('get_all_plants'))


return render_template("edit_plant.html", plant=plant_to_edit)
return render_template("edit.html", plant=plant_to_edit)

if __name__ == '__main__':
app.run(debug=True)
File renamed without changes.
File renamed without changes.

0 comments on commit 718a77b

Please sign in to comment.