mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 19:37:30 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			58 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| @extends('header')
 | |
| 
 | |
| @section('content')
 | |
| 
 | |
|     {!! Former::open($url)
 | |
|             ->addClass('col-md-10 col-md-offset-1 warn-on-exit')
 | |
|             ->method($method)
 | |
|             ->rules([]) !!}
 | |
| 
 | |
|     @if ($$LOWER_NAME$)
 | |
|       {!! Former::populate($$LOWER_NAME$) !!}
 | |
|       <div style="display:none">
 | |
|           {!! Former::text('public_id') !!}
 | |
|       </div>
 | |
|     @endif
 | |
| 
 | |
|     <div class="row">
 | |
|         <div class="col-md-10 col-md-offset-1">
 | |
| 
 | |
|             <div class="panel panel-default">
 | |
|             <div class="panel-body">
 | |
| 
 | |
|                 $FORM_FIELDS$
 | |
| 
 | |
|             </div>
 | |
|             </div>
 | |
| 
 | |
|         </div>
 | |
|     </div>
 | |
| 
 | |
|     <center class="buttons">
 | |
| 
 | |
|         {!! Button::normal(trans('texts.cancel'))
 | |
|                 ->large()
 | |
|                 ->asLinkTo(URL::to('/$LOWER_NAME$'))
 | |
|                 ->appendIcon(Icon::create('remove-circle')) !!}
 | |
| 
 | |
|         {!! Button::success(trans('texts.save'))
 | |
|                 ->submit()
 | |
|                 ->large()
 | |
|                 ->appendIcon(Icon::create('floppy-disk')) !!}
 | |
| 
 | |
|     </center>
 | |
| 
 | |
|     {!! Former::close() !!}
 | |
| 
 | |
| 
 | |
|     <script type="text/javascript">
 | |
| 
 | |
|         $(function() {
 | |
|             $(".warn-on-exit input").first().focus();
 | |
|         })
 | |
| 
 | |
|     </script>
 | |
|     
 | |
| 
 | |
| @stop
 |