0.1.334 save checked after reload in receive_msg_by_email

This commit is contained in:
2024-01-11 15:27:14 +03:00
parent 9d2e35246a
commit ad909b98bf

View File

@@ -442,6 +442,9 @@
<input type="checkbox"
name="receive_msg_by_email"
class="custom-checkbox"
{% if form.initial.receive_msg_by_email == True %}
checked="checked"
{% endif %}
id="id_receive_msg_by_email">
<label for="id_receive_msg_by_email">
<div class="receive_msg_by_email">{{ form.fields.receive_msg_by_email.label }}</div>