- $form->{TEMPLATE_DRIVER_OPTIONS} = {
- variable_content_types => {
- longdescription => 'html',
- partnotes => 'html',
- notes => 'html',
- },
- };
+ $form->{TEMPLATE_DRIVER_OPTIONS} = { };
+ $form->{TEMPLATE_DRIVER_OPTIONS}->{variable_content_types} = $form->get_variable_content_types();