41 lines
1.6 KiB
PHP
41 lines
1.6 KiB
PHP
<?php
|
|
|
|
/**
|
|
* @package Joomla.Administrator
|
|
* @subpackage com_users
|
|
*
|
|
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
*/
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
use Joomla\CMS\HTML\HTMLHelper;
|
|
use Joomla\CMS\Language\Text;
|
|
use Joomla\CMS\Layout\LayoutHelper;
|
|
use Joomla\CMS\Router\Route;
|
|
|
|
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
|
$wa = $this->document->getWebAssetManager();
|
|
$wa->useScript('keepalive')
|
|
->useScript('form.validate');
|
|
|
|
$this->useCoreUI = true;
|
|
?>
|
|
|
|
<form action="<?php echo Route::_('index.php?option=com_users&layout=edit&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="group-form" aria-label="<?php echo Text::_('COM_USERS_GROUP_FORM_' . ((int) $this->item->id === 0 ? 'NEW' : 'EDIT'), true); ?>" class="main-card form-validate">
|
|
<?php echo HTMLHelper::_('uitab.startTabSet', 'myTab', ['active' => 'details', 'recall' => true, 'breakpoint' => 768]); ?>
|
|
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'details', Text::_('COM_USERS_USERGROUP_DETAILS')); ?>
|
|
<div class="form-grid">
|
|
<?php echo $this->form->renderField('title'); ?>
|
|
<?php echo $this->form->renderField('parent_id'); ?>
|
|
</div>
|
|
<?php echo HTMLHelper::_('uitab.endTab'); ?>
|
|
<?php $this->ignore_fieldsets = ['group_details']; ?>
|
|
<?php echo LayoutHelper::render('joomla.edit.params', $this); ?>
|
|
<?php echo HTMLHelper::_('uitab.endTabSet'); ?>
|
|
|
|
<input type="hidden" name="task" value="">
|
|
<?php echo HTMLHelper::_('form.token'); ?>
|
|
</form>
|