Sha256: ada61be1a2e9c7d462e7dba0a2480eac003857f0c8a24e987d9641c81315a6cc

Contents?: true

Size: 674 Bytes

Versions: 12

Compression:

Stored size: 674 Bytes

Contents

<div class="spud_blog_post">
	<h3><%= @post.title %></h3>
	<h4>Posted by <%= @post.author.full_name %> on <%= @post.display_date %></h4>
	<% if @post.categories.any? %>
	<p id="spud_blog_post_categories">
		Filed under
		<%= raw(@post.categories.collect{ |c| link_to c.name, blog_category_path(c.url_name) }.join(', ')) %>
	</p>
	<% end %>
	<div id="spud_blog_post_content">
		<%= raw @post.content %>
	</div>
</div>

<% if @post.comments_enabled %>
	<div class="spud_blog_post_comment">
		<h5>Post a Comment:</h5>
		<%= render 'comment_form' %>
	</div>
	<ul id="spud_blog_post_comments">
		<%= render :partial => 'comment', :collection => @post.comments %>
	</ul>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
spud_blog-0.7.0 app/views/blog/show.html.erb
spud_blog-0.6.3 app/views/blog/show.html.erb
spud_blog-0.6.0 app/views/blog/show.html.erb
spud_blog-0.5.1 app/views/blog/show.html.erb
spud_blog-0.5.0 app/views/blog/show.html.erb
spud_blog-0.4.0 app/views/blog/show.html.erb
spud_blog-0.2.2 app/views/blog/show.html.erb
spud_blog-0.2.1 app/views/blog/show.html.erb
spud_blog-0.1.3 app/views/blog/show.html.erb
spud_blog-0.1.2 app/views/blog/show.html.erb
spud_blog-0.1.1 app/views/blog/show.html.erb
spud_blog-0.1.0 app/views/blog/show.html.erb