mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 07:03:23 -06:00
24 lines
1.1 KiB
Twig
24 lines
1.1 KiB
Twig
<div class="{{ classes }}">
|
|
<label for="{{ options.id }}" class="col-sm-4 control-label">{{ label }}</label>
|
|
<div class="col-sm-8">
|
|
<div class="input-group">
|
|
<div class="input-group-btn">
|
|
<button type="button" class="btn btn-default dropdown-toggle amountCurrencyDropdown" data-toggle="dropdown" aria-expanded="false">
|
|
<span id="amountCurrentSymbol">{{ defaultCurrency.symbol|raw }}</span> <span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu" role="menu">
|
|
{% for currency in currencies %}
|
|
<li><a href="#" class="currencySelect" data-id="{{ currency.id }}" data-field="amount" data-currency="{{ currency.code }}" data-symbol="{{ currency.symbol|raw }}">{{ currency.name }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
{{ Form.input('number', name, value, options) }}
|
|
|
|
|
|
</div>
|
|
|
|
{% include 'form/feedback.twig' %}
|
|
</div>
|
|
<input type="hidden" name="amount_currency_id" value="{{ defaultCurrency.id }}" />
|
|
</div>
|