CC-3001: Preferences->"Submit" button renamed to "Save", and should be at the top and the bottom of the screen
Fixed by: 1. changing label to say "Save" 2. wrap the preference form inside another form; within the wrapper form, add a submit button at the top
This commit is contained in:
parent
a363a53166
commit
04bcc28b5e
2 changed files with 15 additions and 7 deletions
|
@ -11,7 +11,7 @@ class Application_Form_Preferences extends Zend_Form
|
|||
$this->setDecorators(array(
|
||||
array('ViewScript', array('viewScript' => 'form/preferences.phtml'))
|
||||
));
|
||||
|
||||
|
||||
$general_pref = new Application_Form_GeneralPreferences();
|
||||
$this->addSubForm($general_pref, 'preferences_general');
|
||||
|
||||
|
@ -24,7 +24,7 @@ class Application_Form_Preferences extends Zend_Form
|
|||
$this->addElement('submit', 'submit', array(
|
||||
'class' => 'ui-button ui-state-default right-floated',
|
||||
'ignore' => true,
|
||||
'label' => 'Submit',
|
||||
'label' => 'Save',
|
||||
'decorators' => array(
|
||||
'ViewHelper'
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue