__section__ default __description__ Priunts form for editing poll * checked = whether or not poll appears on homepage * qid = question ID * question = text of question * answers = arrayref of arrayrefs of answers (answer = 0, number = 1) __title__ __page__ pollBooth __lang__ en_US __name__ editpoll __template__ [% PROCESS titlebar width='100%' %] [% USE Slash %]
[% PROCESS formLabel value => "The Question" comment => "followed by the total number of voters so far" %]
[% PROCESS formLabel value => "Poll Topic" comment => "this doesn't do much right now but in the future it will" %] [% DEFAULT question.topic=constants.discussion_default_topic %] [% Slash.selectTopic('topic', question.topic, '', 1) %] [% PROCESS formLabel value => "The Answers" comment => "voters" %] [% FOREACH n = [0 .. 7] %]
[% END %] [% PROCESS formLabel value => "Story ID" comment => "if this matches a story's ID it will appear with the story" %] [% PROCESS formLabel value => "SlashBox Poll" comment => "if checked this will be the poll used in slashboxes" %] (appears on homepage)
__seclev__ 10000