[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
1 changed files with 3 additions and 4 deletions

View File

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