mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Add form field to set the database name for a resource of type db
fixes #5115
This commit is contained in:
parent
d109046bc0
commit
d658eff9b1
@ -139,6 +139,17 @@ class EditResourceForm extends Form
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$this->addElement(
|
||||||
|
'text',
|
||||||
|
'resource_db_dbname',
|
||||||
|
array(
|
||||||
|
'label' => 'Database Name',
|
||||||
|
'value' => $this->getResource()->get('dbname', ''),
|
||||||
|
'required' => true,
|
||||||
|
'helptext' => 'The name of the database to use'
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'text',
|
'text',
|
||||||
'resource_db_username',
|
'resource_db_username',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user