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 @@ +
|
+ <%= @post.user.username %>
+ <%= image_tag @post.user.gravatar_url %>
+
+ <%= "Administrator" if @post.user.admin? %> + Posts <%= @post.user.posts_count %>+ Registered <%=l @post.user.created_at %> + + |
+ + + <%= link_to ("#"+ @post.id.to_s ), post_path(@post) %> + Posted <%=l @post.created_at %> + + + + <%= 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) %>