2015-06-02 14:19:05 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\Forms;
|
|
|
|
|
|
|
|
use Icinga\Module\Director\Web\Form\DirectorObjectForm;
|
|
|
|
|
2015-06-12 12:07:53 +02:00
|
|
|
class IcingaUserGroupForm extends DirectorObjectForm
|
2015-06-02 14:19:05 +02:00
|
|
|
{
|
|
|
|
public function setup()
|
|
|
|
{
|
2015-07-30 11:33:08 +02:00
|
|
|
$this->addElement('text', 'object_name', array(
|
|
|
|
'label' => $this->translate('Usergroup'),
|
|
|
|
'required' => true,
|
|
|
|
'description' => $this->translate('Icinga object name for this usergroup')
|
2015-06-02 14:19:05 +02:00
|
|
|
));
|
|
|
|
|
|
|
|
$this->addElement('text', 'display_name', array(
|
|
|
|
'label' => $this->translate('Display Name'),
|
|
|
|
'description' => $this->translate('The name which should displayed.')
|
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|