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/openid | |
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/openid')
-rw-r--r-- | modules/openid/openid.inc | 3 | ||||
-rw-r--r-- | modules/openid/openid.pages.inc | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/openid/openid.inc b/modules/openid/openid.inc index 2957699ac..2c17d2c90 100644 --- a/modules/openid/openid.inc +++ b/modules/openid/openid.inc @@ -109,7 +109,8 @@ function openid_redirect_form($form, &$form_state, $url, $message) { '#value' => $value, ); } - $form['submit'] = array( + $form['actions'] = array('#type' => 'actions'); + $form['actions']['submit'] = array( '#type' => 'submit', '#prefix' => '<noscript>', '#suffix' => '</noscript>', diff --git a/modules/openid/openid.pages.inc b/modules/openid/openid.pages.inc index ac0d4dc52..db41e3b21 100644 --- a/modules/openid/openid.pages.inc +++ b/modules/openid/openid.pages.inc @@ -73,7 +73,7 @@ function openid_user_add() { '#type' => 'textfield', '#title' => t('OpenID'), ); - $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions'] = array('#type' => 'actions'); $form['actions']['submit'] = array('#type' => 'submit', '#value' => t('Add an OpenID')); return $form; } |