Fix tabs on Form close method.
This commit is contained in:
parent
80173d4848
commit
59fa681de1
|
@ -278,16 +278,6 @@ public static function select($name, $options = array(), $selected = null, $attr
|
||||||
return '<select'.HTML::attributes($attributes).'>'.implode('', $html_options).'</select>'.PHP_EOL;
|
return '<select'.HTML::attributes($attributes).'>'.implode('', $html_options).'</select>'.PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Close a HTML form
|
|
||||||
*
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public static function close()
|
|
||||||
{
|
|
||||||
return '</form>'.PHP_EOL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a HTML input element.
|
* Create a HTML input element.
|
||||||
*
|
*
|
||||||
|
@ -306,4 +296,14 @@ private static function input($type, $name, $value = null, $attributes = array()
|
||||||
return '<input'.HTML::attributes($attributes).' />'.PHP_EOL;
|
return '<input'.HTML::attributes($attributes).' />'.PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Close a HTML form.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public static function close()
|
||||||
|
{
|
||||||
|
return '</form>'.PHP_EOL;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue