mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-26 23:34:10 +02:00
DirectorDatalistForm: require name, remove dup
This commit is contained in:
parent
09a7901460
commit
951cf73612
@ -10,10 +10,9 @@ class DirectorDatalistForm extends DirectorObjectForm
|
||||
public function setup()
|
||||
{
|
||||
$this->addElement('text', 'list_name', array(
|
||||
'label' => $this->translate('List name')
|
||||
'label' => $this->translate('List name'),
|
||||
'required' => true,
|
||||
));
|
||||
|
||||
$this->addElement('hidden', 'owner');
|
||||
}
|
||||
|
||||
public function onSuccess()
|
||||
|
Loading…
x
Reference in New Issue
Block a user