Gitlab@AEI Hannover will go down for maintenance on 2020-09-21 at 4:00 UTC. The service will be unavailable for up to 24 hours. If you have questions about this please contact

Commit f041fcae authored by Shawn Kwang's avatar Shawn Kwang

Drupal: Changed weight of Captcha to move it above submit buttons.

Part of
parent 6b9c977a
......@@ -1308,7 +1308,7 @@ function boincuser_form_alter(&$form, $form_state, $form_id) {
// Add an optional captcha
$form['register_captcha'] = array(
'#type' => 'captcha',
'#weight' => 1000,
'#weight' => 0,
'#prefix' => '<div id="captcha-on-left">',
'#suffix' => '</div>'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment