Sha256: 8e52d583002b894fbcf470a7859d7fc2fd3401da93f86f6af1131768f3a35ffb
Contents?: true
Size: 807 Bytes
Versions: 20
Compression:
Stored size: 807 Bytes
Contents
<% content_for :head do %> <%= spud_news_rss_link %> <% end %> <div id="spud_news_filters"> <%= form_tag news_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_news_posts"> <% if @posts.any? %> <% @posts.each do |post| %> <div class="spud_news_post"> <h3><%= link_to post.title, news_post_path(post.url_name) %></h3> <h4>Posted by <%= post.author.full_name %> on <%= post.display_date %></h4> <div class="spud_news_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