change song choice to freestyle text
This commit is contained in:
@@ -941,6 +941,15 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
|
||||
'#default_value' => !empty($data->booking_song_choice) ? $data->booking_song_choice : ''
|
||||
);
|
||||
}
|
||||
if (variable_get('booking_enable_freestyle', 0) == 1) {
|
||||
$form['misc-areas']['booking_freestyle_text'] = array(
|
||||
'#type' => 'textfield',
|
||||
'#title' => t("Freestyle (optional)"),
|
||||
'#maxlength' => 500,
|
||||
'#required' => FALSE,
|
||||
'#default_value' => !empty($data->booking_freestyle_text) ? $data->booking_freestyle_text : ''
|
||||
);
|
||||
}
|
||||
|
||||
if ($inserting == TRUE) {
|
||||
$form['submit'] = array(
|
||||
|
Reference in New Issue
Block a user