This commit is contained in:
Christophe Vilayphiou 2012-08-01 17:03:39 +08:00
parent 02ade108d0
commit 410dfe62e8
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<div class="site-map">
<% @items.each_with_index do |item, i| %>
<div class="map-block">
<h4><%= i+1 %> <%= "<a href='#{item.url)}'>#{item.title}</a>" %></h4>
<h4><%= i+1 %> <%= "<a href='#{item.url}'>#{item.title}</a>" %></h4>
<ul>
<% item.children.each_with_index do |child, ii| %>
<li class="clear"><%= "#{i+1}-#{ii+1}" %> <%= "<a href='#{child.url}'>#{child.title}</a>" %></span></li>