e9_polls 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,7 @@
5
5
 
6
6
  .poll-question
7
7
  = poll.question
8
+
8
9
  .poll-answers
9
10
  - if poll_answered?(poll)
10
11
  = render(:partial => 'e9_polls/polls/results_inner', :locals => { :poll => poll })
@@ -1,4 +1,8 @@
1
1
  .e9-poll{:"data-votes" => poll.votes}
2
+ - if poll.options.header_text.present?
3
+ .poll-header
4
+ = poll.options.header_text
5
+
2
6
  .poll-question
3
7
  = poll.question
4
8
 
@@ -1,3 +1,3 @@
1
1
  module E9Polls
2
- VERSION = "1.0.7"
2
+ VERSION = "1.0.8"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: e9_polls
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.7
5
+ version: 1.0.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Travis Cox
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-29 00:00:00 -04:00
13
+ date: 2011-08-08 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies: []
16
16