Sha256: 2ecf8058c15537201a765ddf9b843068479ae95d25b2af6d5e16ffe4dcc120f9

Contents?: true

Size: 621 Bytes

Versions: 5

Compression:

Stored size: 621 Bytes

Contents

<% content_for :title do %>
	Blog | <%=current_site_name%>
<% end %>

<% 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? %>
		<%= render :partial => "post", :collection => @posts %>
	<% else %>
		<p>No posts were found in this category</p>
	<% end %>
</div>

<%= will_paginate @posts %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spud_blog-1.0.2 app/views/blog/index.html.erb
spud_blog-1.0.1 app/views/blog/index.html.erb
spud_blog-1.0.0 app/views/blog/index.html.erb
spud_blog-1.0.0.rc1.1 app/views/blog/index.html.erb
spud_blog-1.0.0.rc1 app/views/blog/index.html.erb