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(
|
||||
'text',
|
||||
'resource_db_username',
|
||||
|
|
Loading…
Reference in New Issue