{!! Form::label('max_file_size_upload',trans('messages.max_file_size_upload'),[]) !!}
{!! Form::input('number','max_file_size_upload',(config('config.max_file_size_upload')) ? : '',['class'=>'form-control','placeholder'=>trans('messages.max_file_size_upload')]) !!} MB
{{trans('messages.system_max_file_size_upload',['attribute' => formatMemorySizeUnits(getMaxFileUploadSize())])}}
{!! Form::label('',trans('messages.limit'),[]) !!} @if (!isPremium()) {!! tooltip("The allowed upload limit is the same for all tenants.") !!} @endif
{!! Form::label('',trans('messages.allowed_upload_file_type'),[]) !!} @if (!isPremium()) {!! tooltip("The allowed file types is the same for all tenants.") !!} @endif
@foreach(config('upload') as $key => $value)
{{ toWordTranslate($key) }}
{!! Form::input('number','limit['.$key.']',(config('upload.'.$key.'.limit')) ? : '',['class'=>'form-control','placeholder'=>trans('messages.limit')])!!}
{!! Form::input('text','extension['.$key.']',(config('upload.'.$key.'.extension')) ? : '',['class'=>'form-control','placeholder'=>trans('messages.allowed_upload_file_type'),'data-role'=>'tagsinput'])!!}
@endforeach
{!! Form::hidden('config_type','upload') !!} @if (!isPremium()) {!! Form::hidden('tenant_id',(Request::filled('tenant_id') ? Request::input('tenant_id') : Laratrust::user()->tenant_id)) !!} @endif {!! Form::submit(trans('messages.save'),['class' => 'btn btn-primary pull-right','style' => 'margin-top:15px;']) !!}