<?php
/**
 * @version        4.3.0
 * @package        Joomla
 * @subpackage     Helpdesk Pro
 * @author         Tuan Pham Ngoc
 * @copyright      Copyright (C) 2013 - 2021 Ossolution Team
 * @license        GNU/GPL, see LICENSE.php
 */
defined('_JEXEC') or die;

use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

?>
<form action="index.php?option=com_helpdeskpro&view=label" method="post" name="adminForm" id="adminForm" class="form form-horizontal">
    <div class="control-group">
        <div class="control-label">
            <?php echo Text::_('HDP_TITLE'); ?>
        </div>
        <div class="controls">
            <input class="form-control" type="text" name="title" id="title" size="40" maxlength="250"
                   value="<?php echo $this->item->title; ?>"/>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
            <?php echo Text::_('HDP_COLOR'); ?>
        </div>
        <div class="controls">
            <input type="text" name="color_code" class="form-control color {required:false}"
                   value="<?php echo $this->item->color_code; ?>" size="10"/>
            <?php echo Text::_('HDP_COLOR_EXPLAIN'); ?>
        </div>
    </div>
    <div class="control-group">
        <div class="control-label">
            <?php echo Text::_('HDP_PUBLISHED'); ?>
        </div>
        <div class="controls">
            <?php echo $this->lists['published']; ?>
        </div>
    </div>
	<?php echo HTMLHelper::_('form.token'); ?>
	<input type="hidden" name="id" value="<?php echo $this->item->id; ?>"/>
	<input type="hidden" name="task" value=""/>
</form>