mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-31 19:27:51 -06:00
a0ea3882e1
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
23 lines
817 B
Twig
23 lines
817 B
Twig
<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.twig' %}
|
|
{% include 'form/feedback.twig' %}
|
|
|
|
</div>
|
|
</div>
|