Sha256: c6a41d5c07bc9dfd481af769d9d91aa16cee2bdcdba99a1c1ee31dc6e104e724

Contents?: true

Size: 807 Bytes

Versions: 20

Compression:

Stored size: 807 Bytes

Contents

<% content_for :head do %>
	<%= spud_blog_rss_link %>
<% end %>

<div id="spud_blog_filters">
	<%= form_tag blog_path, :class => 'spud_blog_filter_form' do %>
		<label>Category:</label>
		<%= spud_post_category_select %>
		<label>Month:</label>
		<%= spud_post_archive_select %>
		<input type="submit" value="Submit" />
	<% end %>
</div>

<div id="spud_blog_posts">
	<% if @posts.any? %>
		<% @posts.each do |post| %>
			<div class="spud_blog_post">
				<h3><%= link_to post.title, blog_post_path(post.url_name) %></h3>
				<h4>Posted by <%= post.author.full_name %> on <%= post.display_date %></h4>
				<div class="spud_blog_post_content">
					<%= raw post.content %>
				</div>
			</div>
		<% end %>
	<% else %>
		<p>No posts were found in this category</p>
	<% end %>
</div>

<%= will_paginate @posts %>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
spud_blog-0.8.18 app/views/blog/index.html.erb
spud_blog-0.8.17 app/views/blog/index.html.erb
spud_blog-0.8.16 app/views/blog/index.html.erb
spud_blog-0.8.15 app/views/blog/index.html.erb
spud_blog-0.8.14 app/views/blog/index.html.erb
spud_blog-0.8.13 app/views/blog/index.html.erb
spud_blog-0.8.12 app/views/blog/index.html.erb
spud_blog-0.8.11 app/views/blog/index.html.erb
spud_blog-0.8.8 app/views/blog/index.html.erb
spud_blog-0.8.7 app/views/blog/index.html.erb
spud_blog-0.8.6 app/views/blog/index.html.erb
spud_blog-0.8.5 app/views/blog/index.html.erb
spud_blog-0.8.4 app/views/blog/index.html.erb
spud_blog-0.8.3 app/views/blog/index.html.erb
spud_blog-0.8.2 app/views/blog/index.html.erb
spud_blog-0.8.1 app/views/blog/index.html.erb
spud_blog-0.8.0 app/views/blog/index.html.erb
spud_blog-0.7.5 app/views/blog/index.html.erb
spud_blog-0.7.4 app/views/blog/index.html.erb
spud_blog-0.7.2 app/views/blog/index.html.erb