Miglioria su gestione campi personalizzati per pieno supporto html e js

This commit is contained in:
loviuz 2023-01-17 14:54:27 +01:00
parent b565a5d6b8
commit c38dbc2d83
1 changed files with 8 additions and 1 deletions

View File

@ -57,7 +57,14 @@ include_once __DIR__.'/../../core.php';
<div class="row">
<div class="col-md-12">
{[ "type": "textarea", "label": "<?php echo tr('Contenuto'); ?>", "name": "content", "required": 1, "value": "$content$" ]}
<?php
echo input([
'type' => 'textarea',
'label' => tr('Contenuto'),
'name' => 'content',
'value' => $record['content'],
]);
?>
</div>
</div>
</form>