Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / pollVote.tpl
CommitLineData
e25b7b61
MW
1<dl class="wide jsPollVote" data-max-votes="{@$poll->maxVotes}">
2 {foreach from=$poll->getOptions() item=option}
c36828ab 3 <dt></dt>
e25b7b61
MW
4 <dd>
5 <label>
6 {if $poll->canVote()}<input type="{if $poll->maxVotes > 1}checkbox{else}radio{/if}" name="pollOptions{@$poll->pollID}[]" value="{$option->optionValue}" data-option-id="{@$option->optionID}"{if $option->voted} checked="checked"{/if} />{/if}
7 {$option->optionValue}
8 </label>
9 </dd>
10 {/foreach}
11</dl>
12{if $poll->canVote()}
027ecf95
MW
13 {if $poll->maxVotes > 1}<p><small>{lang}wcf.poll.multipleVotes{/lang}</small></p>{/if}
14 {if $poll->endTime}<p><small>{lang}wcf.poll.endTimeInfo{/lang}</small></p>{/if}
e25b7b61 15{else}
027ecf95 16 <p><small>{lang}wcf.poll.restrictedResult{/lang}</small></p>
e25b7b61 17{/if}