more internal form tweaks
This commit is contained in:
@@ -365,7 +365,7 @@ function booking_form($node, &$form_state, $inserting = FALSE)
|
||||
foreach ($partners as $row)
|
||||
$partner_options[$row->nid] = $row->booking_firstname . ' ' . $row->booking_lastname;
|
||||
//create a select field
|
||||
$form['your-details']['booking_partner_id'] = array(
|
||||
$form['internal-details']['booking_partner_id'] = array(
|
||||
'#type' => 'select',
|
||||
'#title' => t('Choose Spouse'),
|
||||
'#default_value' => $data->booking_partner_id,
|
||||
@@ -373,7 +373,7 @@ function booking_form($node, &$form_state, $inserting = FALSE)
|
||||
);
|
||||
|
||||
//add the boyfriend/girlfriend field in here too
|
||||
$form['your-details']['booking_bf_gf_nid'] = array(
|
||||
$form['internal-details']['booking_bf_gf_nid'] = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Registration ID of Boyfriend/Girlfriend to be placed in the same discussion groups as you.'),
|
||||
'#maxlength' => 15,
|
||||
@@ -420,7 +420,7 @@ function booking_form($node, &$form_state, $inserting = FALSE)
|
||||
'#value' => 1
|
||||
);
|
||||
|
||||
$form['your-details']['booking_barcode'] = array(
|
||||
$form['internal-details']['booking_barcode'] = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Barcode'),
|
||||
'#maxlength' => 30,
|
||||
@@ -429,7 +429,7 @@ function booking_form($node, &$form_state, $inserting = FALSE)
|
||||
'#default_value' => !empty($data->booking_barcode) ? $data->booking_barcode : ''
|
||||
);
|
||||
|
||||
$form['your-details']['booking_luckynum'] = array(
|
||||
$form['internal-details']['booking_luckynum'] = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Lucky Number'),
|
||||
'#maxlength' => 30,
|
||||
@@ -438,7 +438,7 @@ function booking_form($node, &$form_state, $inserting = FALSE)
|
||||
'#default_value' => !empty($data->booking_luckynum) ? $data->booking_luckynum : ''
|
||||
);
|
||||
|
||||
$form['your-details']['booking_readinggroup'] = array(
|
||||
$form['internal-details']['booking_readinggroup'] = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Reading Group Allocation'),
|
||||
'#maxlength' => 100,
|
||||
|
Reference in New Issue
Block a user