mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
.. | ||
assets/javascripts | ||
config/locales | ||
spec | ||
plugin.rb | ||
poll.rb | ||
README.md |
Poll plugin
Allows you to add a poll to the first post of a topic.
Usage
- Make your topic title start with "Poll: "
- 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]