Echo instead of the short php form

This commit is contained in:
Thomas Kuschel 2023-10-05 03:26:48 +02:00
parent eebafe0241
commit 5f1db1b0f5

View File

@ -14,10 +14,10 @@ $wa = $this->document->getWebAssetManager();
$wa->useScript('keepalive');
$wa->useScript('form.validate');
?>
<form action="<?= Route::_('index.php?option=com_depot&layout=edit&id=' . (int) $this->item->id); ?>"
<form action="<?php echo Route::_('index.php?option=com_depot&layout=edit&id=' . (int) $this->item->id); ?>"
method="post" name="adminForm" id="item-form" class="form-validate">
<?= $this->form->renderField('component_name'); ?>
<?php echo $this->form->renderField('component_name'); ?>
<input type="hidden" name="task" value="part.edit" />
<?= HTMLHelper::_('form.token'); ?>