context_help 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,10 +12,8 @@ module ContextHelp
|
|
|
12
12
|
end
|
|
13
13
|
def input(method, options = {})
|
|
14
14
|
options = ContextHelp::Helpers.merge_options({:context_help => {:path => {:model => model_name.to_sym, :attribute=> method.to_sym}}}, options || {})
|
|
15
|
-
options[:
|
|
16
|
-
options[:
|
|
17
|
-
options[:label_html] ||= {}
|
|
18
|
-
options[:label_html][:context_help] = options[:context_help]
|
|
15
|
+
#options[:label_html] ||= {}
|
|
16
|
+
#options[:label_html][:context_help] = options[:context_help]
|
|
19
17
|
super method, options
|
|
20
18
|
end
|
|
21
19
|
def radio_input(method, options)
|
data/lib/context_help/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: context_help
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2011-09-
|
|
12
|
+
date: 2011-09-23 00:00:00.000000000 -03:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
description: ContextHelp is a gem that allows you to show inline or aside help about
|