diff --git a/inc/form.class.php b/inc/form.class.php index 85a7964ff..fe302dd45 100644 --- a/inc/form.class.php +++ b/inc/form.class.php @@ -422,7 +422,14 @@ public function showForm($ID, $options = []) { echo ''; echo '' . __('Name') . ' *'; - echo ''; + // echo ''; + echo ''; + echo Html::input('name', [ + 'id' => 'name', + 'autofocus' => '', + 'value' => $this->fields['name'], + ]); + echo ''; echo '' . __('Active') . ' *'; echo ''; Dropdown::showYesNo("is_active", $this->fields["is_active"]); @@ -461,7 +468,12 @@ public function showForm($ID, $options = []) { echo ''; echo '' . __('Description') . ''; - echo ''; + echo ''; + echo Html::input('description', [ + 'id' => 'name', + 'value' => $this->fields['description'], + ]); + echo ''; echo '' . __('Language') . ''; echo ''; Dropdown::showLanguages('language', [