| 
									
										
										
										
											2016-11-06 16:17:22 +01:00
										 |  |  | {% extends "./layout/default" %}
 | 
					
						
							| 
									
										
										
										
											2015-06-19 20:59:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% block breadcrumbs %}
 | 
					
						
							| 
									
										
										
										
											2017-12-23 20:46:52 +01:00
										 |  |  |     {{ Breadcrumbs.render(Route.getCurrentRoute.getName, category) }}
 | 
					
						
							| 
									
										
										
										
											2015-06-19 20:59:14 +02:00
										 |  |  | {% endblock %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:44:12 +02:00
										 |  |  | {% block content %}
 | 
					
						
							| 
									
										
										
										
											2020-03-19 08:56:00 +01:00
										 |  |  |     {{ Form.model(category, {'class' : 'form-horizontal','enctype': 'multipart/form-data','id' : 'update','url' : route('categories.update',category.id)}) }}
 | 
					
						
							| 
									
										
										
										
											2015-06-22 07:24:44 +02:00
										 |  |  |     <input type="hidden" name="id" value="{{ category.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.text('name') }}
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:44:12 +02:00
										 |  |  |             </div>
 | 
					
						
							| 
									
										
										
										
											2020-03-19 08:56:00 +01:00
										 |  |  |         </div>
 | 
					
						
							|  |  |  |         <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
 | 
					
						
							|  |  |  |             {# panel for optional fields#}
 | 
					
						
							|  |  |  |             <div class="box">
 | 
					
						
							|  |  |  |                 <div class="box-header with-border">
 | 
					
						
							|  |  |  |                     <h3 class="box-title">{{ 'optionalFields'|_ }}</h3>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  |                 <div class="box-body">
 | 
					
						
							|  |  |  |                     {{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }}
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							| 
									
										
										
										
											2015-06-22 07:24:44 +02:00
										 |  |  |         </div>
 | 
					
						
							| 
									
										
										
										
											2020-03-13 20:56:26 +01:00
										 |  |  |     </div>
 | 
					
						
							|  |  |  |     <div class="row">
 | 
					
						
							| 
									
										
										
										
											2015-06-22 07:24:44 +02:00
										 |  |  |         <div class="col-lg-6 col-md-6 col-sm-12">
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:44:12 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-01-12 18:42:48 +01:00
										 |  |  |             {# panel for options #}
 | 
					
						
							| 
									
										
										
										
											2015-06-22 07:24:44 +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','category') }}
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  |                 <div class="box-footer">
 | 
					
						
							|  |  |  |                     <button type="submit" class="btn pull-right btn-success">
 | 
					
						
							|  |  |  |                         {{ 'update_category'|_ }}
 | 
					
						
							|  |  |  |                     </button>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:44:12 +02:00
										 |  |  |             </div>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							|  |  |  |     </div>
 | 
					
						
							| 
									
										
										
										
											2020-03-13 20:56:26 +01:00
										 |  |  |     </form>
 | 
					
						
							| 
									
										
										
										
											2015-05-02 19:44:12 +02:00
										 |  |  | {% endblock %}
 | 
					
						
							| 
									
										
										
										
											2018-12-22 06:21:06 +01:00
										 |  |  | {% block scripts %}
 | 
					
						
							| 
									
										
										
										
											2020-01-04 11:16:14 +01:00
										 |  |  |     <script type="text/javascript" src="v1/js/ff/categories/edit.js?v={{ FF_VERSION }}" nonce="{{ JS_NONCE }}"></script>
 | 
					
						
							| 
									
										
										
										
											2018-12-22 06:21:06 +01:00
										 |  |  | {% endblock %}
 |