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> </p>
{% endfor %} {% endfor %}
<p><input type="submit" value="Submit" /></p> <p><input type="submit" value="Submit" /></p>
<button type="button" onclick="window.location.href='/'">Cancel</button>
</form> </form>
</body> </body>
</html> </html>

View File

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

View File

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

View File

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