change song choice to freestyle text

This commit is contained in:
2017-08-29 22:48:26 +10:00
parent d568cf2043
commit 79b2b0e505
3 changed files with 29 additions and 0 deletions

View File

@@ -575,6 +575,16 @@ function booking_admin() {
),
'#default_value' => variable_get('booking_enable_songchoice', 0)
);
$form['regn_options']['booking_enable_freestyle'] = array(
'#type' => 'radios',
'#title' => t('Enable attendee to enter freestyle text'),
'#description' => t('Select whether to include freestyle text field in the booking form.'),
'#options' => array(
0 => t('No'),
t('Yes')
),
'#default_value' => variable_get('booking_enable_freestyle', 0)
);
$form['regn_options']['booking_enable_dietary'] = array(
'#type' => 'radios',
'#title' => t('Allow attendee to specify dietary requirements?'),