diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-24 14:49:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-24 14:49:14 +0000 |
commit | 45f4a1e166d090e23cb385c3238835fce61d1607 (patch) | |
tree | 63384d78144e0caee7c6700c44e444a70fc58845 /modules/block | |
parent | 3e547ae045849264745f8cc456a0f379246060ea (diff) | |
download | brdo-45f4a1e166d090e23cb385c3238835fce61d1607.tar.gz brdo-45f4a1e166d090e23cb385c3238835fce61d1607.tar.bz2 |
- Patch #482816 by sun, Rob Loach: make a consistent wrapper around submit buttons.
Diffstat (limited to 'modules/block')
-rw-r--r-- | modules/block/block.admin.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/block/block.admin.inc b/modules/block/block.admin.inc index 1f5dab673..920b0d2c8 100644 --- a/modules/block/block.admin.inc +++ b/modules/block/block.admin.inc @@ -104,8 +104,7 @@ function block_admin_display_form($form, &$form_state, $blocks, $theme) { $form['actions'] = array( '#tree' => FALSE, - '#type' => 'container', - '#attributes' => array('class' => array('form-actions')), + '#type' => 'actions', ); $form['actions']['submit'] = array( '#type' => 'submit', @@ -351,7 +350,7 @@ function block_admin_configure($form, &$form_state, $module, $delta) { '#default_value' => isset($block->custom) ? $block->custom : 0, ); - $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions'] = array('#type' => 'actions'); $form['actions']['submit'] = array( '#type' => 'submit', '#value' => t('Save block'), |