This page uses includes from Ballot classes to generate a form in raw HTML:
$out->addHTML(
"<form name=\"securepoll\" id=\"securepoll\" method=\"post\" action=\"$encAction\">\n" .
$this->election->getBallot()->getForm( $status ) .
"<br />\n" .
"<input name=\"submit\" type=\"submit\" value=\"$encOK\">\n" .
"<input type='hidden' name='edit_token' value=\"{$encToken}\" /></td>\n" .
"</form>"
);After all the includes have been converted to use OOUI, this page and Ballot.php (which is a wrapper around the returned fields) should also be updated to finish out the conversion.
- includes/Ballots/Ballot.php
- includes/Ballots/ApprovalBallot.php
- includes/Ballots/ChooseBallot.php
- includes/Ballots/PreferentialBallot.php
- includes/Ballots/RadioRangeBallot.php
- includes/Ballots/RadioRangeCommentBallot.php


