public function showForm($ID, $options = array())
{
if (!$this->isNewID($ID)) {
$this->check($ID, READ);
} else {
$this->check(-1, UPDATE);
}
$options['colspan'] = 2;
$options['target'] = Toolbox::getItemTypeFormURL(__CLASS__);
$this->showFormHeader($options);
echo '<table class="tab_cadre_fixe">';
echo "<tr class='line0'><td>" . __('Name') . " <span class='red'>*</span></td>";
echo "<td>";
//Html::autocompletionTextField($this, "name");
echo '<input type="text" name="name" value="' . $this->fields['name'] . '" size="40" required>';
echo "</td>";
echo "</tr>";
echo "<tr class='line1'><td>" . __('Description') . "</td>";
echo "<td>";
echo "<textarea name='comment' id ='comment' cols='45' rows='2'>" . $this->fields['comment'] . "</textarea>";
//Html::initEditorSystem('comment');
echo "</td>";
echo "</tr>";
echo "<tr class='line1'><td>" . __('HTML color', 'tag') . "</td>";
echo "<td>";
Html::showColorField('color', array('value' => $this->fields['color']));
echo "</td>";
echo "</tr>";
$this->showFormButtons($options);
return true;
}