cirandas.net

ref: master

app/views/content_viewer/event_page.html.erb


<% if event.image %> <%= image_tag(event.image.public_filename(:big)) %> <% end %>
<% if event.start_date.present? || event.end_date.present? %> <%= show_period(event.start_date, event.end_date) %> <% end %> <% if event.link.present? %> <%= link_to event.link, event.link %> <% end %> <% if event.address.present? %> <%= event.address %> <% end %>
<% if format == 'short' %> <%= display_short_format event, :comments_link => false, :read_more_link => false %> <% else %> <% unless event.abstract.blank? %>
<%= event.article_lead %>
<% end %>
<%= raw event.body %>
<% end %>