* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; 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'); $app = Factory::getApplication(); $user = $app->getIdentity(); $input = $app->input; // In case of modal $isModal = $input->get('layout') === 'modal'; $layout = $isModal ? 'modal' : 'edit'; $tmpl = $isModal || $input->get('tmpl', '', 'cmd') === 'component' ? '&tmpl=component' : ''; $clientId = $this->state->get('item.client_id', 0); $lang = Factory::getLanguage()->getTag(); ?>
item->id != 0) : ?>
'details', 'recall' => true, 'breakpoint' => 768]); ?>
form->renderField('description'); ?>
form->renderField('published'); ?> form->renderField('default'); ?>
authorise('core.admin', $this->extension)) : ?>
form->getInput('rules'); ?>
form->getInput('workflow_id'); ?>