From 1aa709fe54777ef630b4354598ceb81aad466510 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sun, 8 Sep 2019 16:19:48 +1000 Subject: [PATCH] fix require freestyle text --- booking.admin.inc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/booking.admin.inc b/booking.admin.inc index 5a8c1be..bdd5577 100644 --- a/booking.admin.inc +++ b/booking.admin.inc @@ -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',