This commit is contained in:
Pek5892 2023-02-24 14:59:23 +01:00
parent 3847033973
commit 3eb7d331ad
1 changed files with 9 additions and 1 deletions

View File

@ -41,7 +41,15 @@ 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',
'required' => 1,
'value' => $record['content'],
]);
?>
</div>
</div>