mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
25 lines
974 B
Twig
25 lines
974 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 groupName, accounts in grouped %}
|
|
<strong>{{ groupName }}</strong><br />
|
|
{% for id, account in accounts %}
|
|
<div class="checkbox" style="margin-left:2em;">
|
|
<label>
|
|
{% if account in selected or (selected|length == 0 and options.select_all == true) %}
|
|
{{ Form.checkbox(name~'[]', id, true, options) }}
|
|
{% else %}
|
|
{{ Form.checkbox(name~'[]', id, false, options) }}
|
|
{% endif %}
|
|
{{ account|escape }}
|
|
</label>
|
|
</div>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% include 'form/help' %}
|
|
{% include 'form/feedback' %}
|
|
|
|
</div>
|
|
</div>
|