effective_polls 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e014f4462a07752d6e06f332934f392c6b396c0f7f6279501f11036005d627fa
4
- data.tar.gz: a108863da8039d6aa608d10aa043fef580b435c5c8dff564d382e69120338027
3
+ metadata.gz: f7aad1bd9e73e91f2daafec85f96ee0edadc5d9a618f46e215ca8fb400cb583c
4
+ data.tar.gz: 22ca5d2826cd93b308f639bf916232e251d67a2d920620355527637803e33fb5
5
5
  SHA512:
6
- metadata.gz: e790818639b367c3357f162ff66ee9f795242e337f01d79bab869d0fd63da2b6a9b7b82b097793149f8e1576460253945535161d5e982023e471fa7f3c47b431
7
- data.tar.gz: 7197c7a2dcec5fb46a781e5979998ed9602e2dda492f9c885b1f8b3b0be28dc9796255b0e7a9f9a7ccf42b3a4ced34f6e61b81d32fc8fa8cb41699b4fe13d196
6
+ metadata.gz: fbe536eb8f006644ea3ad63ac1f3686df9738b3632f1057ed0e7f3936024ccbc13a2021c9d7f3a9605903cfe60d588dc1a9c9184de7b4c948b40f014ad5c37f2
7
+ data.tar.gz: dd50f7920f207a8b246849f937a28e9fd15901c1aefdb5accd29670583f0fd6f206c3ff10ef831598d10d6580f30622b4c19f6235d55f40d3dea36b95f3fafb2
@@ -13,7 +13,7 @@ class Admin::EffectivePollQuestionsDatatable < Effective::Datatable
13
13
  end
14
14
 
15
15
  col :title
16
- col :body
16
+ col :body, as: :text
17
17
  col :required
18
18
 
19
19
  col :category, label: 'Type'
@@ -1,10 +1,5 @@
1
1
  module EffectivePollsHelper
2
2
 
3
- # Used on dashboard
4
- def polls_name_label
5
- et('effective_polls.name')
6
- end
7
-
8
3
  # Used by admin/polls form
9
4
  def effective_polls_audience_scope_collection(poll)
10
5
  klass = poll.try(:audience_class)
@@ -36,6 +36,6 @@
36
36
  .card-body
37
37
  %h5 Selected Users
38
38
  %p Users within any of the following groups may complete this #{etd(poll)}
39
- = f.checks :audience_scope, effective_polls_audience_scope_collection(f.object), multiple: true, label: false
39
+ = f.checks :audience_scope, effective_polls_audience_scope_collection(f.object), multiple: true
40
40
 
41
41
  = effective_submit(f)
@@ -16,7 +16,7 @@
16
16
 
17
17
  %hr
18
18
 
19
- %h2 #{polls_name_label}
19
+ %h2 #{et('effective_polls.name')}
20
20
 
21
21
  - if datatable.present?
22
22
  %p The following #{etsd(Effective::Poll)} are available:
@@ -1,3 +1,3 @@
1
1
  module EffectivePolls
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_polls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect