Minor updates and enhancements to Table()

This commit is contained in:
Deon George
2013-05-14 23:55:30 +10:00
parent b65ddab2d0
commit 783964ee59
9 changed files with 159 additions and 22 deletions

View File

@@ -48,6 +48,10 @@ abstract class lnApp_Form extends Kohana_Form {
return $output;
}
public static function button($name,$body,array $attributes=NULL) {
return sprintf(static::_controlgroup($name,$attributes),parent::button($name,$body,$attributes));
}
/**
* Wrap our Form() functions with boostrap HTML
*