firefly-iii/app/views/piggy_banks/add.blade.php

25 lines
1.2 KiB
PHP
Raw Normal View History

<form style="display: inline;" id="add" action="{{route('piggy_banks.add',$piggyBank->id)}}" method="POST">
{{Form::token()}}
<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">Add money to {{{$piggyBank->name}}}</h4>
</div>
<div class="modal-body">
<p>
2015-01-02 02:06:44 -06:00
The maximum amount you can add is {{Amount::format($maxAmount)}}
</p>
<div class="input-group">
<div class="input-group-addon"></div>
2014-11-08 04:37:55 -06:00
<input step="any" class="form-control" id="amount" autocomplete="off" name="amount" max="{{round($maxAmount,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>
</div>
</div>
2015-01-01 23:16:49 -06:00
</form>