aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/common/_left_sidebar.html.erb9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/views/common/_left_sidebar.html.erb b/app/views/common/_left_sidebar.html.erb
index 72f83bb..bf3b3a8 100644
--- a/app/views/common/_left_sidebar.html.erb
+++ b/app/views/common/_left_sidebar.html.erb
@@ -1,3 +1,10 @@
<div id="left_sidebar">
-No content yet, but that will hopefully change soon!
+ <% @sidebar_contents.keys.each do |c| -%>
+ <div class="sidebar_content">
+ <h1><%= c %></h1>
+ <ul><%- @sidebar_contents[c].each do |p| %>
+ <li><%= p.title %></li>
+ <% end %></ul>
+ </div>
+ <% end -%>
</div>