allow form ->li() to set $class
This commit is contained in:
parent
b01484a0a3
commit
bca4bb8373
|
@ -190,9 +190,9 @@ class Form extends Widget
|
|||
return 'form';
|
||||
}
|
||||
|
||||
function li()
|
||||
function li($class=null)
|
||||
{
|
||||
$this->out->elementStart('li');
|
||||
$this->out->elementStart('li', $class);
|
||||
}
|
||||
|
||||
function unli()
|
||||
|
|
Loading…
Reference in New Issue
Block a user