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
|
@ -24,7 +24,7 @@ class Application_Form_Preferences extends Zend_Form
|
||||||
$this->addElement('submit', 'submit', array(
|
$this->addElement('submit', 'submit', array(
|
||||||
'class' => 'ui-button ui-state-default right-floated',
|
'class' => 'ui-button ui-state-default right-floated',
|
||||||
'ignore' => true,
|
'ignore' => true,
|
||||||
'label' => 'Submit',
|
'label' => 'Save',
|
||||||
'decorators' => array(
|
'decorators' => array(
|
||||||
'ViewHelper'
|
'ViewHelper'
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,15 @@
|
||||||
<div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong preferences">
|
<div class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong preferences">
|
||||||
<h2>Preferences</h2>
|
<h2 style="float:left">Preferences</h2>
|
||||||
|
<form method="post" action="/Preference/index" enctype="application/x-www-form-urlencoded">
|
||||||
|
|
||||||
|
<div class="button-bar bottom" id="submit-element" style="float:right">
|
||||||
|
<input type="submit" class="ui-button ui-state-default right-floated" value="Save" id="Save" name="Save" />
|
||||||
|
</div>
|
||||||
|
<div style="clear:both"></div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo $this->statusMsg;
|
echo $this->statusMsg;
|
||||||
echo $this->form;
|
echo $this->form;
|
||||||
?>
|
?>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue