poll_cancel_form($form, &$form_state, $nid)Builds the cancel form for a poll.
modules/poll/poll.module, line 878
<?php
function poll_cancel_form($form, &$form_state, $nid) {
$form_state['cache'] = TRUE;
// Store the nid so we can get to it in submit functions.
$form['#nid'] = $nid;
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Cancel your vote'),
'#submit' => array('poll_cancel')
);
return $form;
}
?>