depot/admin/tmpl/part/edit.php

27 lines
870 B
PHP
Raw Normal View History

2023-10-05 02:28:17 +02:00
<?php
/**
* @package Depot.Administrator
* @subpackage com_depot
* @author Thomas Kuschel <thomas@kuschel.at>
* @copyright (C) 2023 KW4NZ, <https://www.kuschel.at>
* @license GNU General Public License version 2 or later; see LICENSE.md
* @since 0.0.3
*/
use Joomla\CMS\HTML\HTMLHelper;
2023-10-05 11:45:44 +02:00
use Joomla\CMS\Router\Route;
2023-10-05 02:28:17 +02:00
2023-10-05 11:45:44 +02:00
//$wa = $this->document->getWebAssetManager();
//$wa->useScript('keepalive');
//$wa->useScript('form.validate');
2023-10-05 14:56:39 +02:00
HTMLHelper::_('behavior.formvalidator');
HTMLHelper::_('behavior.keepalive');
2023-10-05 02:28:17 +02:00
?>
2023-10-05 11:45:44 +02:00
<form action="<?php echo Route::_('index.php?option=com_depot&view=part&layout=edit&id=' . (int) $this->item->id); ?>"
2023-10-05 02:28:17 +02:00
method="post" name="adminForm" id="item-form" class="form-validate">
2023-10-05 11:45:44 +02:00
<?php echo $this->form->renderField('titel'); ?>
2023-10-05 02:28:17 +02:00
<input type="hidden" name="task" value="part.edit" />
2023-10-05 11:45:44 +02:00
<?php echo HTMLHelper::_('form.token'); ?>
2023-10-05 14:56:39 +02:00
</form>