CC-4693: Preferences: Bottom save button is not aligned

-fixed
This commit is contained in:
denise 2012-11-12 14:43:44 -05:00
parent c0e54c64cd
commit 33e4d6154d
3 changed files with 2 additions and 8 deletions

View File

@ -23,11 +23,5 @@ class Application_Form_Preferences extends Zend_Form
$soundcloud_pref = new Application_Form_SoundcloudPreferences(); $soundcloud_pref = new Application_Form_SoundcloudPreferences();
$this->addSubForm($soundcloud_pref, 'preferences_soundcloud'); $this->addSubForm($soundcloud_pref, 'preferences_soundcloud');
$saveBtn = new Zend_Form_Element_Button('pref_save');
$saveBtn->setAttrib('class', 'btn btn-small right-floated');
$saveBtn->setIgnore(true);
$saveBtn->setLabel('Save');
$this->addElement($saveBtn);
} }
} }

View File

@ -13,6 +13,4 @@
<?php echo $this->element->getSubform('preferences_soundcloud') ?> <?php echo $this->element->getSubform('preferences_soundcloud') ?>
</div> </div>
<?php echo $this->element->getElement('pref_save') ?>
</form> </form>

View File

@ -10,5 +10,7 @@
echo $this->statusMsg; echo $this->statusMsg;
echo $this->form; echo $this->form;
?> ?>
<br />
<button name="pref_save" id="pref_save" type="button" class="btn btn-small right-floated">Save</button>
</form> </form>
</div> </div>