Add form field to set the database name for a resource of type db

fixes #5115
This commit is contained in:
Johannes Meyer 2014-04-07 09:55:19 +02:00
parent d109046bc0
commit d658eff9b1
1 changed files with 11 additions and 0 deletions

View File

@ -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',