[web] Switch to semantic html for hiding the create link form

Signed-off-by: Ben Aaron Goldberg <ben@benaaron.dev>
This commit is contained in:
Ben Aaron Goldberg 2021-10-27 10:07:26 -04:00
parent 201237c3f3
commit c64437a915

View file

@ -53,9 +53,8 @@
<hr/>
<label for="form-toggle">Create your own custom link!</label>
<input type="checkbox" id="form-toggle" style="display: none;"/>
<div id="form">
<details id="create-link">
<summary>Create your own custom pronouns link!</summary>
<form action="/" method="post">
<label for="name">Name</label>
<input type="text" id="name" name="name"/><br/>
@ -65,6 +64,6 @@
{% endfor %}
<input type="submit" value="Create!">
</form>
</div>
</details>
</body>
</html>