Add Code of Conduct to group registration

New user groups must accept the Code of Conduct and OpenStack
Event Policy as part of registration.

Change-Id: I66d727a355295bddc045bfc0cf7fc33db3a78349
This commit is contained in:
Marton Kiss 2015-02-16 13:26:33 +01:00
parent 870d8a947c
commit 5230c7ece0
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ function groups_groups_form_alter(&$form, &$form_state, $form_id) {
$form['accept_terms'] = array(
'#type' => 'checkbox',
'#title' => t('I have read and agree the !termsurl and !eventurl', array(
'!termsurl' => l(t('Terms and Conditions'), '#'), // TODO: specify url here
'!termsurl' => l(t('Code of Conduct'), 'http://www.openstack.org/legal/community-code-of-conduct/'),
'!eventurl' => l(t('OpenStack Event Policy'), 'http://www.openstack.org/brand/event-policy/'),
)),
'#weight' => 22,