form tweak

This commit is contained in:
Nathan Coad
2018-05-22 12:29:00 +10:00
parent 9e87ed88df
commit 476140d6bc

View File

@@ -294,6 +294,12 @@ function booking_emails_custom_ajax_form($node, &$form_state) {
$form_format = NULL; $form_format = NULL;
} }
//include the token definitions
$form['tokens'] = array(
'#theme' => 'token_tree',
'#token_types' => array('booking'),
);
$form['email-type'] = array( $form['email-type'] = array(
'#type' => 'select', '#type' => 'select',
'#title' => t('Email Type'), '#title' => t('Email Type'),