public function renderColorForm($id_option)
 {
     //$view == 'detail'
     $input_field = array(array('type' => 'hidden', 'name' => 'id_option'));
     $default_font = array();
     foreach (OvicLayoutControl::$OptionFonts as $k => $font) {
         $font_field = array('type' => 'text', 'label' => $this->l('Google font link ' . ($k + 1)), 'name' => $font, 'desc' => $this->l("Example: <link href='http://fonts.googleapis.com/css?family=Gilda+Display' rel='stylesheet' type='text/css'>"));
         $input_field[] = $font_field;
         $default_font[$font] = '';
     }
     $default_color = array();
     foreach (OvicLayoutControl::$OptionColors as $k => $color) {
         $font_field = array('type' => 'color', 'label' => ucwords(str_replace('_', ' ', $color)), 'name' => $color, 'size' => 30);
         $input_field[] = $font_field;
         $default_color[$color] = '';
     }
     $fields_form = array('form' => array('legend' => array('title' => $this->l('Settings'), 'icon' => 'icon-cogs'), 'input' => $input_field, 'submit' => array('title' => $this->l('Save'))));
     $fields_value = array('id_option' => $id_option);
     $option = new Options($id_option);
     $optionStyle = OvicLayoutControl::getOptionStyle($option->theme, $option->alias);
     if ($optionStyle && is_array($optionStyle['font'])) {
         $default_font = $optionStyle['font'];
     }
     if ($optionStyle && is_array($optionStyle['color'])) {
         $default_color = $optionStyle['color'];
     }
     $fields_value = array_merge($fields_value, $default_font, $default_color);
     $id_shop = (int) $this->context->shop->id;
     $helper = new HelperForm();
     $helper->show_toolbar = false;
     $helper->table = $this->table;
     $lang = new Language((int) Configuration::get('PS_LANG_DEFAULT'));
     $helper->default_form_language = $lang->id;
     $helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0;
     $this->fields_form = array();
     $helper->id = (int) Tools::getValue('id_carrier');
     $helper->identifier = $this->identifier;
     $helper->submit_action = 'submitMultiSave';
     $helper->currentIndex = self::$currentIndex;
     $helper->token = Tools::getAdminTokenLite('AdminLayoutBuilder');
     $helper->tpl_vars = array('fields_value' => $fields_value, 'languages' => $this->context->controller->getLanguages(), 'id_language' => $this->context->language->id);
     return $helper->generateForm(array($fields_form));
 }