fix: Hide Email Address checkbox markup

also:
- support empty strings in util.strtobool

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-02-05 01:34:30 -08:00
parent 6986d1bb1e
commit ac68f74c69
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 8 additions and 4 deletions

View file

@ -105,7 +105,11 @@
{% trans %}Hide Email Address{% endtrans %}:
</label>
<input id="id_hide" type="checkbox" name="H" value="{{ H }}">
<input id="id_hide" type="checkbox" name="H"
{% if hide_email %}
checked="checked"
{% endif %}
>
</p>
<p>
<em>{{ "If you do not hide your email address, it is "