ADD PartTable, several typos
This commit is contained in:
parent
336eb346a7
commit
eebafe0241
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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'); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user