diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index a233fdd1d..f620f7632 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -340,8 +340,14 @@ class e_form function email($name, $value, $maxlength = 200, $options = array()) { $options = $this->format_options('text', $name, $options); + + if(deftrue('BOOTSTRAP') === 3) + { + $options['class'] .= ' form-control'; + } + //never allow id in format name-value for text fields - return "get_attributes($options, $name)." /> + return "get_attributes($options, $name)." /> "; }