function theme_scale_creation_form in Quiz 7.6
Same name and namespace in other branches
- 8.6 question_types/quiz_scale/theme/scale.theme.inc \theme_scale_creation_form()
- 8.4 question_types/scale/scale.theme.inc \theme_scale_creation_form()
- 8.5 question_types/quiz_scale/theme/scale.theme.inc \theme_scale_creation_form()
- 6.6 question_types/scale/scale.module \theme_scale_creation_form()
- 6.4 question_types/scale/theme/scale.theme.inc \theme_scale_creation_form()
- 7 question_types/scale/theme/scale.theme.inc \theme_scale_creation_form()
- 7.4 question_types/scale/theme/scale.theme.inc \theme_scale_creation_form()
- 7.5 question_types/scale/theme/scale.theme.inc \theme_scale_creation_form()
Theme function for the scale creation form.
This function only adds js to the page. Js should be added to forms through theme functions like this one. Js can't be added to the page from the form function because sometimes the form is returned from cache.
Parameters
$form: The scale creation form
File
- question_types/
scale/ theme/ scale.theme.inc, line 47 - The theme file for scale.
Code
function theme_scale_creation_form($form) {
drupal_add_js(drupal_get_path('module', 'scale') . '/scale.js');
}