aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog_posts/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/blog_posts/show.html.erb')
-rw-r--r--app/views/blog_posts/show.html.erb20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/views/blog_posts/show.html.erb b/app/views/blog_posts/show.html.erb
new file mode 100644
index 0000000..2cd39c6
--- /dev/null
+++ b/app/views/blog_posts/show.html.erb
@@ -0,0 +1,20 @@
+<% content_for :body_content_title, @blog_post.title %>
+
+<% content_for :body_content_left do %>
+
+ <%= @blog_post.body %>
+
+<% end %>
+
+<% content_for :body_content_right do %>
+ <h2><%= t('.other') %></h2>
+ <ul id="blog_post">
+ <% @blog_posts.each do |blog_post| %>
+ <li>
+ <%= link_to blog_post.title, blog_post_url(blog_post) %>
+ </li>
+ <% end %>
+ </ul>
+<% end %>
+
+<%= render :partial => "/shared/content_page" %>