fix reload after submit

This commit is contained in:
null
2024-03-05 08:05:31 +01:00
parent 71e1ec06e4
commit 63b76e1579
6 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
<body>
<h2>Update a condition</h2>
<form method="POST" action="/conditions/{{ data.id }}">
<form method="POST" action="/conditions/{{ data.id }}?submitted">
<fieldset>
<label>ID</label>
<div>{{ data.id }}</div>
@@ -36,7 +36,7 @@
<button type="submit">Submit</button>
</fieldset>
</form>
<form method="POST" action="/conditions/delete/{{ data.id }}">
<form method="POST" action="/conditions/delete/{{ data.id }}?submitted">
<button class="danger" type="submit">Delete</button>
</form>
</body>