<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_users
 *
 * @copyright   (C) 2011 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\Router\Route;

/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
$wa = $this->document->getWebAssetManager();
$wa->useScript('keepalive')
	->useScript('form.validate');

?>
<form action="<?php echo Route::_('index.php?option=com_users&view=note&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="note-form" aria-label="<?php echo Text::_('COM_USERS_NOTE_FORM_' . ((int) $this->item->id === 0 ? 'NEW' : 'EDIT'), true); ?>" class="form-validate">
	<fieldset class="adminform">
	<div class="card mt-4">
		<div class="card-body">
			<div class="row">
				<div class="form-grid">
				<?php echo $this->form->renderField('subject'); ?>
				<?php echo $this->form->renderField('user_id'); ?>
				<?php echo $this->form->renderField('catid'); ?>
				<?php echo $this->form->renderField('state'); ?>
				<?php echo $this->form->renderField('review_time'); ?>
				<?php echo $this->form->renderField('version_note'); ?>


				<input type="hidden" name="task" value="">
				<?php echo HTMLHelper::_('form.token'); ?>
				</div>
				<div class="col-12">
					<?php echo $this->form->renderField('body'); ?>
				</div>
			</div>
		</div>
	</div>
	</fieldset>
</form>
