|
@@ -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,
|
|
|
+ );
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
|