blob: 07eba16612ebd80b5bcd03540ffa67a8e526f700 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
<% unless modules.nil? %>
<% modules.keys.each do |c| -%>
<div class="sidebar_content">
<h1><%= c %></h1>
<%- modules[c].each do |item| %>
<h2><%= link_to(item.title, item.friendly_id) %></h2>
<div><%= item.body %></div>
<div><%= link_to(t('read_more'), item.friendly_id) %></div>
<% end %>
</div>
<% end -%>
<% end -%>
|