mirror of
https://github.com/getformwork/formwork.git
synced 2025-01-17 13:38:22 +01:00
Fix method call in editor
view
This commit is contained in:
parent
83d2b69169
commit
67a57b7561
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user