Cancel buttons

This commit is contained in:
Candifloss 2025-02-25 01:42:21 +05:30
parent 352ea445eb
commit 173928006d
4 changed files with 4 additions and 1 deletions

View File

@ -45,6 +45,7 @@
</p>
{% endfor %}
<p><input type="submit" value="Submit" /></p>
<button type="button" onclick="window.location.href='/'">Cancel</button>
</form>
</body>
</html>

View File

@ -11,7 +11,7 @@
<form action='' method="post">
<br>
<input type="submit" value="Delete">
<a href='/viewall'>Cancel</a>
<button type="button" onclick="window.location.href='/'">Cancel</button>
</form>
<!-- Display a preview of the item -->

View File

@ -45,6 +45,7 @@
</p>
{% endfor %}
<p><input type="submit" value="Update" /></p>
<button type="button" onclick="window.location.href='/'">Cancel</button>
</form>
</body>
</html>

View File

@ -28,6 +28,7 @@
<input type="file" id="file" name="file" accept=".csv" required>
<br><br>
<button type="submit">Upload</button>
<button type="button" onclick="window.location.href='/'">Cancel</button>
</form>
</body>
</html>