Update customized template

This commit is contained in:
blag 2017-02-27 06:00:36 -07:00 committed by GitHub
parent 9614c437d6
commit 6bf9798e07

View file

@ -89,7 +89,7 @@ It is possible to customize the HTML of this widget in your form template. To do
{% for value, text in form.providers.field.choices %}
<div class="ui slider checkbox">
<input id="id_providers_{{ forloop.counter0 }}" name="{{ form.providers.name }}" type="checkbox" value="{{ value }}"{% if value in campaign.providers %} checked="checked"{% endif %}>
<input id="id_providers_{{ forloop.counter0 }}" name="{{ form.providers.name }}" type="checkbox" value="{{ value }}"{% if value in checked_providers %} checked="checked"{% endif %}>
<label>{{ text }}</label>
</div>
{% endfor %}