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

@@ -11,7 +11,7 @@
<span>Back</span>
</a>
<h1 class="text-3xl font-bold text-center text-gray-800 mb-6">Add Reading</h1>
<form method="POST" action="{{ url_for('main.add_reading') }}" novalidate class="space-y-6">
<form method="POST" action="{{ url_for('reading.add_reading') }}" novalidate class="space-y-6">
{{ form.hidden_tag() }}
<!-- Timestamp Field -->