add more detail to study group definitions and email token
This commit is contained in:
@@ -112,14 +112,30 @@ function booking_studygroups_define_form($node, &$form_state, $create, $editid =
|
||||
}
|
||||
|
||||
if(!isset($form_state['storage']['confirm'])) {
|
||||
$form['booking_studygroup_weekday'] = array (
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Day of the week this study group will be held (eg Monday)'),
|
||||
'#size' => 60,
|
||||
'#maxlength' => 150,
|
||||
'#required' => TRUE,
|
||||
'#default_value' => !empty($data->booking_studygroup_weekday) ? $data->booking_studygroup_weekday : '',
|
||||
);
|
||||
$form['booking_studygroup_descrip'] = array (
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Description of this study group (eg Monday)'),
|
||||
'#title' => t('Description of this study group (eg Study Group 1)'),
|
||||
'#size' => 60,
|
||||
'#maxlength' => 150,
|
||||
'#required' => TRUE,
|
||||
'#default_value' => !empty($data->booking_studygroup_descrip) ? $data->booking_studygroup_descrip : '',
|
||||
);
|
||||
);
|
||||
$form['booking_studygroup_explanation'] = array (
|
||||
'#type' => 'textfield',
|
||||
'#title' => t('Explanation for this study group (eg Matthew chapter 1)'),
|
||||
'#size' => 60,
|
||||
'#maxlength' => 150,
|
||||
'#required' => TRUE,
|
||||
'#default_value' => !empty($data->booking_studygroup_explanation) ? $data->booking_studygroup_explanation : '',
|
||||
);
|
||||
|
||||
$form['booking_num_group_sessions'] = array (
|
||||
'#type' => 'textfield',
|
||||
|
Reference in New Issue
Block a user