discourse/plugins/poll
2014-04-11 12:26:55 +05:30
..
assets/javascripts Poll style improvements. 2014-04-11 12:26:55 +05:30
config/locales Remove the colon from the poll prefix, drop regex support. 2014-04-11 08:41:37 +05:30
spec Remove the colon from the poll prefix, drop regex support. 2014-04-11 08:41:37 +05:30
plugin.rb Poll style improvements. 2014-04-11 12:26:55 +05:30
poll.rb Remove the colon from the poll prefix, drop regex support. 2014-04-11 08:41:37 +05:30
README.md Update README.md for poll plugin 2014-04-08 23:19:19 -04:00

Poll plugin

Allows you to add a poll to the first post of a topic.

Usage

  1. Make your topic title start with "Poll: "
  2. Include a list in your post (the first list will be used)

Closing the poll

Change the start of the topic title from "Poll: " to "Closed Poll: "

Note: closing a topic will also close the poll.

Specifying the list to be used for the poll

If you have multiple lists in your post and the first list is not the one you want to use for the poll, you can identify the list to be used like this:

Intro Text
   
- Item one
- Item two
   
Here are your choices:
   
[poll]
- Option 1
- Option 2
[/poll]