Refactor routes.py

This commit is contained in:
Peter Stockings
2024-12-29 22:51:01 +11:00
parent 1cd0b15201
commit 049e845d5b
13 changed files with 532 additions and 500 deletions

View File

@@ -29,7 +29,7 @@
class="px-4 py-2 bg-gray-300 text-gray-700 rounded hover:bg-gray-400">
Cancel
</a>
<form method="POST" action="{{ url_for('main.confirm_delete', reading_id=reading.id) }}">
<form method="POST" action="{{ url_for('reading.confirm_delete', reading_id=reading.id) }}">
<button type="submit" class="px-4 py-2 bg-red-600 text-white rounded hover:bg-red-700">
Confirm
</button>