make inputs required to prevent accidental submit

This commit is contained in:
fungal 2023-12-19 22:31:49 +01:00
parent 1ab0a78951
commit 4301455646

View file

@ -45,9 +45,9 @@
<form method="POST">
<div>
<label for="shortcode">Emoji shortcode</label>
<input type="text" id="shortcode" name="shortcode" placeholder="blobcatNotLikeThis">
<input type="text" id="shortcode" name="shortcode" placeholder="blobcatNotLikeThis" required>
<label for="url">Emoji URL</label>
<input type="text" id="url" name="url" placeholder="https://...">
<input type="text" id="url" name="url" placeholder="https://..." required>
</div>
<input type="submit">
</form>