Sha256: f95bd8602f731b3aef18de348bbd70a57163935a9073c88dd4f297c4977a66f0
Contents?: true
Size: 706 Bytes
Versions: 5
Compression:
Stored size: 706 Bytes
Contents
<div id='body_content' class='clearfix'> <div id='body_content_left' class='clearfix'> <h1><%= page_title %></h1> <%= @page[:body] %> <% if @news_items.size > 0 %> <% @news_items.each do |item| %> <h3><%= link_to item.title, news_item_url(item) %></h3> <p> <small>Published <%= item.publish_date.strftime("%A %d of %B, %Y") %></small> </p> <%= truncate(item.body, :length => 200, :omission => " ... #{link_to "Read more", news_item_url(item)}", :preserve_html_tags => true) %> <% end %> <% else %> <p><em>Sorry we haven't posted up any news yet.</em></p> <% end %> </div> <div id='body_content_right' class='clearfix'> <%= @page[:side_body] %> </div> </div>
Version data entries
5 entries across 5 versions & 1 rubygems