Merge pull request #569 from AngelFQC/7539

Add Bootstrap class for inputs type number - refs #7539
1.10.x
Angel Fernando Quiroz Campos 10 years ago
commit e27c5e8369
  1. 1
      main/inc/lib/formvalidator/Element/Number.php

@ -20,6 +20,7 @@ class Number extends HTML_QuickForm_text
}
$attributes['type'] = 'number';
$attributes['class'] = 'form-control';
HTML_QuickForm_element::HTML_QuickForm_element($elementName, $elementLabel, $attributes);
$this->_appendName = true;

Loading…
Cancel
Save