aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/common/_sidebar_module.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/common/_sidebar_module.html.erb b/app/views/common/_sidebar_module.html.erb
index 41f51e7..73554b7 100644
--- a/app/views/common/_sidebar_module.html.erb
+++ b/app/views/common/_sidebar_module.html.erb
@@ -1,9 +1,9 @@
<% modules.keys.each do |c| -%>
<div class="sidebar_content">
<h1><%= c %></h1>
- <%- modules[c].each do |entry| %>
- <%= entry.title %>
- <%= entry.body %>
+ <%- modules[c].each do |item| %>
+ <h2><%= link_to(item.title, item.friendly_id) %></h2>
+ <div><%= item.body %></div>
<% end %>
</div>
<% end -%>