Fixes in fields

This commit is contained in:
Antonio de la Rosa 2016-01-26 03:50:47 +01:00
parent a2e0b89f1a
commit ae2e94d224
3 changed files with 5 additions and 36 deletions

View file

@ -46,36 +46,6 @@ class SelectModelForm extends SelectForm{
return parent::form();
/*
$arr_selected[$this->default_value]=' selected';
ob_start();
?>
<select name="<?php echo $this->name; ?>">
<?php
foreach($this->arr_select as $value => $select)
{
settype($arr_selected[$value], 'string');
?>
<option value="<?php echo $value; ?>"<?php echo $arr_selected[$value]; ?>><?php echo $select; ?></option>
<?php
}
?>
</select>
<?php
$input=ob_get_contents();
ob_end_clean();
return $input;*/
}