| 
									
										
										
										
											2016-11-06 16:17:22 +01:00
										 |  |  | {% extends "./layout/default" %}
 | 
					
						
							| 
									
										
										
										
											2015-07-18 23:51:51 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% block breadcrumbs %}
 | 
					
						
							| 
									
										
										
										
											2017-12-23 20:46:52 +01:00
										 |  |  |     {{ Breadcrumbs.render(Route.getCurrentRoute().getName(), attachment) }}
 | 
					
						
							| 
									
										
										
										
											2015-07-18 23:51:51 +02:00
										 |  |  | {% endblock %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block content %}
 | 
					
						
							| 
									
										
										
										
											2015-07-19 12:21:38 +02:00
										 |  |  |     <form method="POST" action="{{ route('attachments.update', attachment.id) }}" accept-charset="UTF-8" class="form-horizontal" id="update">
 | 
					
						
							| 
									
										
										
										
											2015-07-18 23:51:51 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |         <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">
 | 
					
						
							| 
									
										
										
										
											2019-07-16 19:22:14 +02:00
										 |  |  |                         {{ ExpandedForm.staticText('filename',attachment.filename|escape) }}
 | 
					
						
							|  |  |  |                         {{ ExpandedForm.staticText('mime',attachment.mime|escape) }}
 | 
					
						
							| 
									
										
										
										
											2015-07-18 23:51:51 +02:00
										 |  |  |                         {{ 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) }}
 | 
					
						
							| 
									
										
										
										
											2018-03-19 15:28:35 +01:00
										 |  |  |                         {{ ExpandedForm.textarea('notes',null,{helpText: trans('firefly.field_supports_markdown')}) }}
 | 
					
						
							| 
									
										
										
										
											2015-07-18 23:51:51 +02:00
										 |  |  |                     </div>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							| 
									
										
										
										
											2020-03-13 20:56:26 +01:00
										 |  |  |             </div>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							|  |  |  |         <div class="row">
 | 
					
						
							|  |  |  |             <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
 | 
					
						
							| 
									
										
										
										
											2018-01-12 18:42:48 +01:00
										 |  |  |                 {# panel for options #}
 | 
					
						
							| 
									
										
										
										
											2015-07-18 23:51:51 +02:00
										 |  |  |                 <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">
 | 
					
						
							| 
									
										
										
										
											2016-09-09 11:19:19 +02:00
										 |  |  |                             {{ 'update_attachment'|_ }}
 | 
					
						
							| 
									
										
										
										
											2015-07-18 23:51:51 +02:00
										 |  |  |                         </button>
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     </form>
 | 
					
						
							|  |  |  | {% endblock %}
 |