From 557c5a8a3dc91eb5963d66fa9eef9961f2166de2 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Sat, 26 Aug 2017 19:21:49 +1000 Subject: [PATCH] change instruction to inside wrapper --- booking.regn_form.inc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/booking.regn_form.inc b/booking.regn_form.inc index 1fd885d..1b551d9 100644 --- a/booking.regn_form.inc +++ b/booking.regn_form.inc @@ -112,14 +112,18 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all '#title' => 'Early Registration Code' ); $form['early-access']['booking_earlyaccess_feedback_wrapper'] = array( - '#markup' => '
', + '#markup' => '
If you have been given an early-access code for registration, please enter it below. ' . + 'Without this code, your registration will not be accepted.
' . + '

NOTE: each early-access code can only be used once, so don\'t pass it along to your friends!


', ); + /* $form['early-access']['booking_earlyaccess_explanation'] = array( '#type' => 'container', '#children' => t("

If you have been given an early-access code for registration, please enter it below. " . "Without this code, your registration will not be accepted.

" . "

NOTE: each early-access code can only be used once, so don't pass it along to your friends!

"), ); + */ $form['early-access']['booking_earlyaccess_code'] = array( '#type' => 'textfield', '#title' => t('Unique Early-Access Code'), @@ -980,7 +984,9 @@ function booking_earlyaccess_feedback_callback($form, &$form_state) { } #fallback - return '
'; + return '
If you have been given an early-access code for registration, please enter it below. ' . + 'Without this code, your registration will not be accepted.
' . + '

NOTE: each early-access code can only be used once, so don\'t pass it along to your friends!


'; } function booking_form_validate($form, &$form_state) {