discourse/plugins/poll
Godfrey Chan 5352a7f53c Don't `use_route`
See https://github.com/rails/rails/pull/17453 and https://github.com/rails/rails/pull/17725
2014-11-30 21:25:54 -08:00
..
assets/javascripts UX: More spinner upgrades 2014-11-13 15:40:28 -05:00
config/locales Update Translations 2014-11-17 21:35:06 +05:30
spec Don't `use_route` 2014-11-30 21:25:54 -08:00
README.md Disable the close poll functionality if allow_user_locale is enabled. 2014-04-12 23:00:51 +05:30
plugin.rb Instead of `.js.handlebars` use `.hbs` for handlebars templates 2014-09-26 15:23:15 -04:00
poll.rb more renaming of trust level settings 2014-09-04 13:32:00 -07:00

README.md

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: ". This feature is disabled if the allow_user_locale site setting is enabled.

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]