checkbox.html 263 B

123456
  1. {% comment %}
  2. Include a hidden field of the same name to ensure that unchecked checkboxes
  3. are always included in the submitted form data.
  4. {% endcomment %}
  5. <input type="hidden" name="{{ widget.name }}" value="">
  6. {% include "django/forms/widgets/input.html" %}