ADD B4 Actions: Save and View

This commit is contained in:
2023-10-07 23:33:29 +02:00
parent 9db4ad808b
commit 436734cd4c
7 changed files with 144 additions and 9 deletions

View File

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