e9_tags 0.0.11 → 0.0.12

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.
@@ -4,7 +4,11 @@
4
4
  <!--END e9_tags_js-->
5
5
 
6
6
  %fieldset.tags
7
- %legend= label_tag 'add-tag-fld', t(:tags_name, :scope => :e9_tags)
7
+ %legend
8
+ = label_tag 'add-tag-fld', t(:tags_name, :scope => :e9_tags)
9
+ -# NOTE this escaping bit doesn't work without a tooltips plugin (browser does not render HTML in default title tooltips)
10
+ - t = raw t(:tag_instructions, :scope => @tag_instructions_scope || :e9_tags).gsub('"', '&quot;')
11
+ %span{:title => t, :rel => 'tooltip', :class => 'help'} [?]
8
12
  #tag-fields
9
13
  - if local_assigns[:context]
10
14
  = hidden_field_tag 'tag-context', humanize_context(*local_assigns[:context])
@@ -17,9 +21,6 @@
17
21
  = text_field_tag 'add-tag-fld', nil
18
22
  .actions
19
23
  %button#add-tag-btn= t(:add_tag_link, :scope => :e9_tags)
20
- -# NOTE this escaping bit doesn't work without a tooltips plugin (browser does not render HTML in default title tooltips)
21
- - t = raw t(:tag_instructions, :scope => :e9_tags).gsub('"', '&quot;')
22
- <button title="#{t}" rel="tooltip">?</button>
23
24
 
24
25
  #tag-contexts{:class => local_assigns[:context] ? 'locked-context' : nil }
25
26
  - f.object.tagging_contexts(:show_all => true).each do |context|
@@ -1,3 +1,3 @@
1
1
  module E9Tags
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: e9_tags
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.11
5
+ version: 0.0.12
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-05-02 00:00:00 -04:00
13
+ date: 2011-05-26 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency