| 
									
										
										
										
											2015-07-18 23:51:51 +02:00
										 |  |  | {% extends "./layout/default.twig" %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block breadcrumbs %}
 | 
					
						
							|  |  |  |     {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute().getName(), attachment) }}
 | 
					
						
							|  |  |  | {% endblock %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block content %}
 | 
					
						
							|  |  |  |     <form method="POST" action="{{ route('attachment.update', attachment.id) }}" accept-charset="UTF-8" class="form-horizontal" id="update">
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <input type="hidden" name="_token" value="{{ csrf_token() }}"/>
 | 
					
						
							|  |  |  |         <input type="hidden" name="id" value="{{ attachment.id }}"/>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <div class="row">
 | 
					
						
							|  |  |  |             <div class="col-lg-6 col-md-6 col-sm-12">
 | 
					
						
							|  |  |  |                 <div class="box box-primary">
 | 
					
						
							|  |  |  |                     <div class="box-header with-border">
 | 
					
						
							|  |  |  |                         <h3 class="box-title">{{ 'mandatoryFields'|_ }}</h3>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                     <div class="box-body">
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.staticText('filename',attachment.filename) }}
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.staticText('mime',attachment.mime) }}
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.staticText('size',attachment.size|filesize) }}
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							|  |  |  |             <div class="col-lg-6 col-md-6 col-sm-12">
 | 
					
						
							|  |  |  |                 <div class="box">
 | 
					
						
							|  |  |  |                     <div class="box-header with-border">
 | 
					
						
							|  |  |  |                         <h3 class="box-title">{{ 'optionalFields'|_ }}</h3>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                     <div class="box-body">
 | 
					
						
							| 
									
										
										
										
											2015-07-19 09:37:28 +02:00
										 |  |  |                         {{ ExpandedForm.text('title', attachment.title) }}
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.textarea('description', attachment.description) }}
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.textarea('notes', attachment.notes) }}
 | 
					
						
							| 
									
										
										
										
											2015-07-18 23:51:51 +02:00
										 |  |  |                     </div>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                 <!-- panel for options  -->
 | 
					
						
							|  |  |  |                 <div class="box">
 | 
					
						
							|  |  |  |                     <div class="box-header with-border">
 | 
					
						
							|  |  |  |                         <h3 class="box-title">{{ 'options'|_ }}</h3>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                     <div class="box-body">
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.optionsList('update','attachment') }}
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                     <div class="box-footer">
 | 
					
						
							|  |  |  |                         <button type="submit" class="btn pull-right btn-success">
 | 
					
						
							|  |  |  |                             {{ ('update_attachment')|_ }}
 | 
					
						
							|  |  |  |                         </button>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     </form>
 | 
					
						
							|  |  |  | {% endblock %}
 |