mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-02 13:39:19 -06:00
29 lines
1.3 KiB
Twig
29 lines
1.3 KiB
Twig
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">{{ 'close'|_ }}</span>
|
|
</button>
|
|
<h4 class="modal-title" id="myModalLabel">{{ trans('firefly.add_money_to_piggy_title', {name: piggyBank.name}) }}</h4>
|
|
</div>
|
|
<form style="display: inline;" id="add" action="{{ route('piggy-banks.add', piggyBank.id) }}" method="POST">
|
|
<div class="modal-body">
|
|
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
|
|
|
|
<p>
|
|
{{ 'max_amount_add'|_ }}: {{ maxAmount|formatAmount }}.
|
|
</p>
|
|
|
|
<div class="input-group">
|
|
<div class="input-group-addon">{{ getCurrencySymbol()|raw }}</div>
|
|
<input step="any" class="form-control" id="amount" autocomplete="off" name="amount" max="{{ maxAmount|round(2) }}" type="number"/>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
|
|
<button type="submit" class="btn btn-primary">{{ 'add'|_ }}</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|