<?php 
/** 
 * @package JREALTIMEANALYTICS::EVENTSTATS::administrator::components::com_jrealtimeanalytics
 * @subpackage views
 * @subpackage eventstats
 * @subpackage tmpl
 * @author Joomla! Extensions Store
 * @copyright (C) 2014 - Joomla! Extensions Store
 * @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html  
 */
defined ( '_JEXEC' ) or die ( 'Restricted access' );
use Joomla\CMS\Language\Text;
?>
<form action="index.php" method="post" name="adminForm" id="adminForm"> 
	<div class="card card-default accordion-group">
		<div class="card-header accordion-heading opened">
			<div class="accordion-toggle noaccordion">
				<h4><span class="icon-pencil" aria-hidden="true"></span><?php echo Text::_( 'COM_JREALTIME_CAT_DETAILS' ); ?></h4>
			</div>
		</div>
		<div id="details" class="card-body card-block accordion-body">
	      	<div class="accordion-inner">
				<table class="admintable">
				<tbody>
					<tr>
						<td class="key left_title">
							<label for="name">
								<?php echo Text::_('COM_JREALTIME_TITLE' ); ?>:
							</label>
						</td>
						<td class="right_details">
							<input class="form-control" type="text" name="title" id="title" data-validation="required" aria-required="true" size="50" value="<?php echo $this->record->title;?>" />
						</td>
					</tr>
					<tr>
						<td class="key left_title">
							<label for="description">
								<?php echo Text::_('COM_JREALTIME_DESCRIPTION' ); ?>:
							</label>
						</td>
						<td class="right_details">
							<textarea class="form-control" type="text" name="description" id="description" rows="5" cols="80" ><?php echo $this->record->description;?></textarea>
						</td>
					</tr> 
					<tr>
						<td class="key left_title">
							<label for="category" data-bs-content="<?php echo Text::_('COM_JREALTIME_PARENT_DESC' ); ?>" class="hasPopover">
								<?php echo Text::_('COM_JREALTIME_PARENT' ); ?>:
							</label>
						</td>
						<td class="right_details">
							<fieldset>
								<?php echo $this->lists['categories'];?>
							</fieldset>
						</td>
					</tr> 
					<tr>
						<td class="key left_title">
							<label>
								<?php echo Text::_('COM_JREALTIME_PUBLISHED' ); ?>:
							</label>
						</td>
						<td class="right_details">
							<fieldset class="radio btn-group" data-bs-toggle="buttons">
								<?php echo $this->lists['published']; ?>
							</fieldset>
						</td>
					</tr>
				</tbody>
				</table>
			</div>
		</div>
	</div>
	<input type="hidden" name="option" value="<?php echo $this->option?>" />
	<input type="hidden" name="id" value="<?php echo $this->record->id; ?>" />
	<input type="hidden" name="lft" value="<?php echo $this->record->lft; ?>" />
	<input type="hidden" name="rgt" value="<?php echo $this->record->rgt; ?>" />
	<input type="hidden" name="haschanged" value="" />
	<input type="hidden" name="task" value="" />
</form>