mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 14:12:15 +00:00
Improved account list for #2768
This commit is contained in:
@@ -38,13 +38,17 @@
|
||||
|
||||
<div class="col-sm-9" id="inputAccountsSelect">
|
||||
<select id="inputAccounts" name="accounts[]" multiple class="form-control">
|
||||
{% for account in accounts %}
|
||||
{% for role, accountList in groupedAccounts %}
|
||||
<optgroup label="{{ role }}">
|
||||
{% for account in accountList %}
|
||||
<option
|
||||
value="{{ account.id }}"
|
||||
label="{{ account.name }}{% if accountGetMetaField(account, 'accountRole') == 'sharedAsset' %} ({{ 'shared'|_|lower }}){% endif %}">
|
||||
{{ account.name }}{% if accountGetMetaField(account, 'accountRole') == 'sharedAsset' %} ({{ 'shared'|_|lower }}){% endif %}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</optgroup>
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user