firefly-iii/resources/twig/budgets/income.twig

24 lines
1.2 KiB
Twig
Raw Normal View History

<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">{{ 'close'|_ }}</span></button>
<h4 class="modal-title" id="myModalLabel">Update (expected) available amount for {{Session.get('start').format('F Y')}}</h4>
</div>
2015-05-31 13:23:49 -05:00
<form style="display: inline;" id="income" action="{{route('budgets.postIncome')}}" method="POST">
2015-05-02 02:06:07 -05:00
<div class="modal-body">
2015-05-31 13:23:49 -05:00
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
2015-05-02 02:06:07 -05:00
<div class="input-group">
2015-05-31 13:23:49 -05:00
<div class="input-group-addon">{{ getCurrencySymbol()|raw }}</div>
<input step="any" class="form-control" id="amount" value="{{ amount.data }}" autocomplete="off" name="amount" type="number" />
2015-05-02 02:06:07 -05:00
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{{ 'close'|_ }}</button>
2015-05-31 13:23:49 -05:00
<button type="submit" class="btn btn-primary">{{ 'update_amount'|_ }}</button>
2015-05-02 02:06:07 -05:00
</div>
</form>
2015-05-02 02:06:07 -05:00
</div>
2015-05-23 01:51:24 -05:00
</div>
2015-05-31 13:23:49 -05:00