Files
firefly-iii/resources/views/v1/form/assetAccountCheckList.twig

25 lines
974 B
Twig
Raw Normal View History

2015-07-06 20:21:55 +02:00
<div class="{{ classes }}" id="{{ name }}_holder">
<label for="{{ options.id }}" class="col-sm-4 control-label">{{ label }}</label>
<div class="col-sm-8">
2018-04-29 07:46:14 +02:00
{% 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 %}
2019-08-03 05:08:35 +02:00
{{ account|escape }}
2018-04-29 07:46:14 +02:00
</label>
</div>
{% endfor %}
2015-07-06 20:21:55 +02:00
{% endfor %}
2016-11-06 16:17:22 +01:00
{% include 'form/help' %}
{% include 'form/feedback' %}
2015-07-06 20:21:55 +02:00
</div>
</div>