2021-10-24 05:24:56 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>My Pronouns Today</title>
|
|
|
|
<style>
|
|
|
|
#form {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
:checked + #form {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2021-10-24 05:46:57 +00:00
|
|
|
<h1>
|
|
|
|
{% if name.is_some() %}
|
|
|
|
{{ name.as_ref().unwrap() }}
|
|
|
|
{% else %}
|
|
|
|
My
|
|
|
|
{% endif %}
|
|
|
|
pronouns today are: {{ short }}</h1>
|
2021-10-24 05:24:56 +00:00
|
|
|
|
|
|
|
<label for="form-toggle">Create your own custom link!</label>
|
|
|
|
<input type="checkbox" id="form-toggle" style="display: none;"/>
|
|
|
|
<div id="form">
|
|
|
|
<form action="/" method="post">
|
2021-10-24 05:46:57 +00:00
|
|
|
<label for="name">Name</label>
|
|
|
|
<input type="text" id="name" name="name"/><br/>
|
2021-10-24 05:24:56 +00:00
|
|
|
{% for item in pronouns %}
|
|
|
|
<label for="{{ item.0 }}">{{ item.1.render_threeform() }}</label>
|
|
|
|
<input type="number" id="{{ item.0 }}" name="{{ item.0 }}" value="1"/><br/>
|
|
|
|
{% endfor %}
|
|
|
|
<input type="submit" value="Create!">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|