Update customized template

This commit is contained in:
blag 2017-02-27 05:57:37 -07:00 committed by GitHub
parent 0b475a41f8
commit 9614c437d6
1 changed files with 1 additions and 1 deletions

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 }}">
<input id="id_providers_{{ forloop.counter0 }}" name="{{ form.providers.name }}" type="checkbox" value="{{ value }}"{% if value in campaign.providers %} checked="checked"{% endif %}>
<label>{{ text }}</label>
</div>
{% endfor %}