| 
									
										
										
										
											2015-05-02 11:32:45 +02:00
										 |  |  |     <div class="modal-dialog">
 | 
					
						
							|  |  |  |         <div class="modal-content">
 | 
					
						
							|  |  |  |             <form style="display: inline;" id="remove" action="{{ route('piggy-banks.remove', piggyBank.id) }}" method="POST">
 | 
					
						
							|  |  |  |                 <input type="hidden" name="_token" value="{{ csrf_token() }}" />
 | 
					
						
							|  |  |  |             <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">Remove money from {{ piggyBank.name }}</h4>
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             <div class="modal-body">
 | 
					
						
							|  |  |  |                 <p>
 | 
					
						
							|  |  |  |                     The maximum amount you can remove is {{ currentRelevantRepAmount(piggyBank)|formatAmount }}
 | 
					
						
							|  |  |  |                 </p>
 | 
					
						
							|  |  |  |                 <div class="input-group">
 | 
					
						
							|  |  |  |                     <div class="input-group-addon">{{ getCurrencySymbol() }}</div>
 | 
					
						
							|  |  |  |                     <input step="any" class="form-control" id="amount" autocomplete="off" name="amount" max="{{ currentRelevantRepAmount(piggyBank)|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">Remove</button>
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							|  |  |  |         </form>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-05 12:51:57 +02:00
										 |  |  |     </div>
 |