diff --git a/materio_user.module b/materio_user.module index 7ce9a2e3..102f689d 100644 --- a/materio_user.module +++ b/materio_user.module @@ -79,10 +79,16 @@ function materio_user_form_alter(&$form, &$form_state, $form_id) { // dsm($form); $form['account']['pass']['#type'] = 'password'; $form['account']['pass']['#title'] = t('Password'); + $form['actions']['#type'] = "container"; $form['actions']['submit']['#value'] = t('Join'); - // $form['submit'] = $form['actions']['submit']; - // unset($form['actions']); + + $form['termsofservices'] = array( + '#type' => 'checkbox', + '#title' => t('I red and accept') .' '. l('the materiO terms of services', 'node/11178'), + '#required' => true, + ); + } }