__section__ default __description__ Prints a pollbooth * polls = arrayref of answer arrayrefs [question, answer, answer ID] * question = question text * qid = question ID * voters = number of voters * comments = number of comments * sect = section __title__ __page__ misc __lang__ en_US __name__ pollbooth __template__ [% USE Slash %] [% IF Slash.db.getPollVoter(qid) %] [% question %] [% FOREACH ans = polls %][% answer = ans.1; aid = ans.2; votes = ans.3 %]
  • [% answer %] ([% votes %]) [% END %]

    (You've already voted.)
    [ Results | Polls ]
    Comments:[% comments %] | Votes:[% voters %] [% ELSE %]

    [% IF user.currentSection %] [% END %] [% question %] [% FOREACH ans = polls %][% answer = ans.1; aid = ans.2; votes = ans.3 %]
    [% answer %] [% END %]
    [ Results | Polls ]
    Comments:[% comments %] | Votes:[% voters %]
    [% END %] __seclev__ 10000