Sha256: 14dc963d7a395be03a132fa139e3855b603599ade4b7de73a662309f0c0798ab

Contents?: true

Size: 661 Bytes

Versions: 3

Compression:

Stored size: 661 Bytes

Contents

<% cache(:expires_in => 1.hour) do
	path = "#{@current_menu_item.get_target_path}/#{odania_content.to_param}"
	%>
	<div class="entry hentry">
		<h2 class="entry-title"><%= link_to odania_content.title, path, {:class => 'bookmark', :rel => 'tag'} %></h2>

		<%= render :partial => 'odania/contents/content_info', :locals => {odania_content: odania_content} %>

		<p class="entry-summary">
			<%= odania_content.body_short.html_safe %>
		</p>

		<p>
			<%= link_to (t('Read more')+' &raquo;').html_safe, path, {class: 'btn btn-primary'} %>
		</p>

		<%= render :partial => 'odania/tags/tagged_as', :locals => {odania_content: odania_content} %>
	</div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
odania_core-0.0.3 app/views/odania/contents/_show_short.html.erb
odania_core-0.0.2 app/views/odania/contents/_show_short.html.erb
odania_core-0.0.1 app/views/odania/contents/_show_short.html.erb