CC-2045: Role drop-down box has no label in Manage users page, should default to 'guest'

-fixed
This commit is contained in:
martin 2011-03-23 22:22:07 -04:00
parent 5d0e224139
commit 3fed7a7ab5

View file

@ -68,12 +68,13 @@ class Application_Form_AddUser extends Zend_Form
$this->addElement($jabber);
$select = new Zend_Form_Element_Select('type');
$select->setLabel('User Type:');
$select->setAttrib('class', 'input_select');
$select->setAttrib('style', 'width: 40%');
$select->setMultiOptions(array(
"A" => "admin",
"H" => "host",
"G" => "guest",
"H" => "host",
"A" => "admin"
));
$select->setRequired(true);
$this->addElement($select);