2015-05-21 16:05:31 -05:00
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2015-06-27 01:06:24 -05:00
|
|
|
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">{{ 'close'|_ }}</span>
|
|
|
|
</button>
|
2015-05-25 02:23:45 -05:00
|
|
|
<h4 class="modal-title" id="myModalLabel">{{ trans('firefly.add_money_to_piggy_title', {name: piggyBank.name}) }}</h4>
|
2015-05-21 16:05:31 -05:00
|
|
|
</div>
|
|
|
|
<form style="display: inline;" id="add" action="{{ route('piggy-banks.add', piggyBank.id) }}" method="POST">
|
2015-05-02 04:32:45 -05:00
|
|
|
<div class="modal-body">
|
2015-06-27 01:06:24 -05:00
|
|
|
<input type="hidden" name="_token" value="{{ csrf_token() }}"/>
|
|
|
|
|
2015-05-02 04:32:45 -05:00
|
|
|
<p>
|
2015-05-25 02:23:45 -05:00
|
|
|
{{ 'max_amount_add'|_ }}: {{ maxAmount|formatAmount }}.
|
2015-05-02 04:32:45 -05:00
|
|
|
</p>
|
2015-06-27 01:06:24 -05:00
|
|
|
|
2015-05-02 04:32:45 -05:00
|
|
|
<div class="input-group">
|
2015-05-21 16:05:31 -05:00
|
|
|
<div class="input-group-addon">{{ getCurrencySymbol()|raw }}</div>
|
2015-06-27 01:06:24 -05:00
|
|
|
<input step="any" class="form-control" id="amount" autocomplete="off" name="amount" max="{{ maxAmount|round(2) }}" type="number"/>
|
2015-05-02 04:32:45 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2015-05-14 03:26:15 -05:00
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
|
2015-05-25 02:23:45 -05:00
|
|
|
<button type="submit" class="btn btn-primary">{{ 'add'|_ }}</button>
|
2015-05-02 04:32:45 -05:00
|
|
|
</div>
|
2015-05-21 16:05:31 -05:00
|
|
|
</form>
|
2015-05-02 04:32:45 -05:00
|
|
|
</div>
|
2015-05-21 16:05:31 -05:00
|
|
|
</div>
|
2015-05-02 04:32:45 -05:00
|
|
|
|