Fix method call in editor view

This commit is contained in:
Giuseppe Criscione 2020-12-16 22:11:12 +01:00
parent 83d2b69169
commit 67a57b7561

View File

@ -102,7 +102,7 @@
<?php
if ($admin->user()->permissions()->has('pages.upload_files')):
?>
<input class="file-input" id="file-uploader" type="file" name="uploaded-file" data-auto-upload="true" accept="<?= implode(', ', $formwork->option('files.allowed_extensions')) ?>">
<input class="file-input" id="file-uploader" type="file" name="uploaded-file" data-auto-upload="true" accept="<?= implode(', ', $formwork->config()->get('files.allowed_extensions')) ?>">
<label for="file-uploader" class="file-input-label">
<span><?= $this->label('pages.files.upload-label') ?></span>
</label>