allow form ->li() to set $class

This commit is contained in:
Mikael Nordfeldth 2015-11-23 00:40:28 +01:00
parent b01484a0a3
commit bca4bb8373

View File

@ -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()