function theme_poll_view_voting in Drupal 4
Same name and namespace in other branches
- 5 modules/poll/poll.module \theme_poll_view_voting()
Themes the voting form for a poll.
File
- modules/
poll.module, line 318 - Enables your site to capture votes on different topics in the form of multiple choice questions.
Code
function theme_poll_view_voting($form) {
$output .= '<div class="poll">';
$output .= ' <div class="vote-form">';
$output .= ' <div class="choices">';
$output .= form_render($form['choice']);
$output .= ' </div>';
$output .= form_render($form['nid']);
$output .= form_render($form['vote']);
$output .= ' </div>';
$output .= form_render($form);
$output .= '</div>';
return $output;
}