From cc00d7c6a2320682b7087830da3afa1655b5898e Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Sun, 27 Jan 2013 01:25:05 -0500 Subject: [PATCH] Cleaned up posts --- app/views/posts/show.html.erb | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100755 app/views/posts/show.html.erb diff --git a/app/views/posts/show.html.erb b/app/views/posts/show.html.erb new file mode 100755 index 0000000..1b1662a --- /dev/null +++ b/app/views/posts/show.html.erb @@ -0,0 +1,52 @@ +
<%= link_to "Back to Forum", forum_path(@topic.forum) %>
+
+
+ <%= link_to @topic.title, topic_path(@topic) %> + + + +
+
+ + + + + + + + +
+ + + + <%= link_to "Delete", @post, :confirm => "Are you sure?", :method => :delete if can? :destroy, @post %> + +
+ <%= @post.body.bbcode_to_html(@my_blockquote).html_safe %> +
+
+
+
+
+

<%= link_to "Back to Forum", forum_path(@topic.forum) %>