ADD PartTable, several typos

This commit is contained in:
Thomas Kuschel 2023-10-05 03:06:49 +02:00
parent 336eb346a7
commit eebafe0241
2 changed files with 4 additions and 4 deletions

View File

@ -15,10 +15,10 @@ use Joomla\Database\DatabaseDriver;
\defined('_JEXEC') or die; \defined('_JEXEC') or die;
class DepotTable extends Table class PartTable extends Table
{ {
function __contruct(DatabaseDriver $db) function __construct(DatabaseDriver $db)
{ {
parent::__contruct('#__depot', 'id', $db); parent::__construct('#__depot', 'id', $db);
} }
} }

View File

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