mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Add attachment thing to views #2828
This commit is contained in:
		| @@ -11,8 +11,12 @@ | ||||
|         var mapboxToken = "{{ config('firefly.mapbox_api_key') }}"; | ||||
|     </script> | ||||
|  | ||||
|     {{ Form.model(account, {'class' : 'form-horizontal','id' : 'update','url' : route('accounts.update',account.id) } ) }} | ||||
|  | ||||
|     {{ Form.model(account, { | ||||
|         'class': 'form-horizontal', | ||||
|         'id': 'update', | ||||
|         'url': route('accounts.update',account.id), | ||||
|         'enctype': 'multipart/form-data' | ||||
|     } ) }} | ||||
|     <input type="hidden" name="id" value="{{ account.id }}"/> | ||||
|     <input type="hidden" name="objectType" value="{{ objectType }}"/> | ||||
|  | ||||
| @@ -70,6 +74,8 @@ | ||||
|                     {# only correct way to do active checkbox #} | ||||
|  | ||||
|                     {{ ExpandedForm.location('location', null, {locations: locations}) }} | ||||
|                     {{ ExpandedForm.file('attachments[]', {'multiple': 'multiple','helpText': trans('firefly.upload_max_file_size', {'size': uploadSize|filesize}) }) }} | ||||
|  | ||||
|                 </div> | ||||
|             </div> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user