fix require freestyle text

This commit is contained in:
Nathan Coad
2019-09-08 16:19:48 +10:00
parent 7869a9be5b
commit 1aa709fe54

View File

@@ -603,7 +603,17 @@ function booking_admin() {
t('Yes')
),
'#default_value' => variable_get('booking_enable_freestyle', 0)
);
);
$form['regn_options']['booking_require_freestyle'] = array(
'#type' => 'radios',
'#title' => t('Require attendees to enter some freestyle text?'),
'#description' => t('Select whether to require attendees to enter some freestyle text when they register.'),
'#options' => array(
0 => t('No'),
t('Yes')
),
'#default_value' => variable_get('booking_require_freestyle', 0)
);
$form['regn_options']['booking_enable_dietary'] = array(
'#type' => 'radios',
'#title' => t('Allow attendee to specify dietary requirements?'),
@@ -687,16 +697,6 @@ function booking_admin() {
),
'#default_value' => variable_get('booking_require_songchoice', 0)
);
$form['regn_options']['booking_enable_freestyle'] = array(
'#type' => 'radios',
'#title' => t('Require attendees to enter some freestyle text?'),
'#description' => t('Select whether to require attendees to enter some freestyle text when they register.'),
'#options' => array(
0 => t('No'),
t('Yes')
),
'#default_value' => variable_get('booking_enable_freestyle', 0)
);
$form['management'] = array(
'#type' => 'fieldset',