1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Admin Notify - gui alignment fix for when selecting the 'email' option.

This commit is contained in:
Cameron
2014-07-02 21:38:47 -07:00
parent 4e4cc52215
commit 9ccc6dd78b
2 changed files with 3 additions and 8 deletions

View File

@@ -340,12 +340,7 @@ 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 "<input type='email' name='{$name}' value='{$value}' maxlength='{$maxlength}' ".$this->get_attributes($options, $name)." />
";