Rename template file.

This commit is contained in:
James Cole
2018-04-29 07:42:01 +02:00
parent fdc9467218
commit 9cbbd581ee

View File

@@ -0,0 +1,22 @@
<div class="{{ classes }}" id="{{ name }}_holder">
<label for="{{ options.id }}" class="col-sm-4 control-label">{{ label }}</label>
<div class="col-sm-8">
{% for value,description in list %}
{% set options = options|merge({'id': 'ffInput_'~name~'_'~value}) %}
<div class="checkbox">
<label>
{% if value in selected %}
{{ Form.checkbox(name~'[]', value, true, options) }}
{% else %}
{{ Form.checkbox(name~'[]', value, false, options) }}
{% endif %}
{{ description }}
</label>
</div>
{% endfor %}
{% include 'form/help' %}
{% include 'form/feedback' %}
</div>
</div>