Sha256: 8a92a8a2caea8621c2b8dcacd194af30cf8f865d67af273bcd1e878eb5fd35cc

Contents?: true

Size: 643 Bytes

Versions: 5

Compression:

Stored size: 643 Bytes

Contents

<% cache(:expires_in => 1.hour) do
	path = odania_content_path(id: 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

5 entries across 5 versions & 1 rubygems

Version Path
odania_core-0.0.8 app/views/odania/contents/_show_short.html.erb
odania_core-0.0.7 app/views/odania/contents/_show_short.html.erb
odania_core-0.0.6 app/views/odania/contents/_show_short.html.erb
odania_core-0.0.5 app/views/odania/contents/_show_short.html.erb
odania_core-0.0.4 app/views/odania/contents/_show_short.html.erb