<?php
/**
 * @package     SP Soccer
 *
 * @copyright   Copyright (C) 2010 - 2017 JoomShaper. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

?>

<div id="spsoccer-poll-<?php echo $module->id; ?>" class="spsoccer-module-poll <?php echo $moduleclass_sfx . ' ' . $module->id; ?>">
	<h3><?php echo $poll->title; ?></h3>
	<form class="spsoccer-poll">
		<ul>
			<?php foreach ($poll->poptions as $poption) {?>
			<li><input type="radio" name="question" value="<?php echo $poption['poll_id']; ?>"><?php echo $poption['poll_name']; ?></li>
			<?php } ?>
		</ul>

		<input type="submit" id="poll-submit" class="poll-submit"/>
	</form>
	<div class="status"></div>
</div>
