guides 0.6.9 → 0.6.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -219,7 +219,17 @@ module Guides
219
219
  index << view.content_tag(:li, link.html_safe + children_ul.html_safe)
220
220
  end
221
221
 
222
- view.content_for(:index_section) { index.html_safe }
222
+ index_section = <<-INDEX
223
+ <div id="subCol">
224
+ <h3 class="chapter"><img src="images/chapters_icon.gif" alt="" />Chapters</h3>
225
+ <ol class="chapters">
226
+ #{index}
227
+ </ol>
228
+ </div>
229
+ INDEX
230
+
231
+ view.content_for(:index_items) { index.html_safe }
232
+ view.content_for(:index_section) { index_section.html_safe }
223
233
 
224
234
  i.result
225
235
  end
@@ -56,7 +56,9 @@
56
56
  <% end %>
57
57
  <div id="subCol">
58
58
  <h3 class="chapter"><img src="images/chapters_icon.gif" alt="" />Chapters</h3>
59
- <ol class="chapters"><%= yield(:index_section) %></ol>
59
+ <ol class="chapters">
60
+ <%= yield(:index_items) %>
61
+ </ol>
60
62
  </div>
61
63
  </div>
62
64
  </div>
@@ -1,3 +1,3 @@
1
1
  module Guides
2
- VERSION = "0.6.9"
2
+ VERSION = "0.6.10"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: guides
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.9
5
+ version: 0.6.10
6
6
  platform: ruby
7
7
  authors:
8
8
  - Yehuda Katz