Sha256: 857674c9f148dc8a60ba0ab5b36e7679f9607dda9278f657ec853b2a8fe80297
Contents?: true
Size: 1.19 KB
Versions: 34
Compression:
Stored size: 1.19 KB
Contents
- cache(@location, base_domain: current_site.base_domain) do .location-content %header.location-header .location-info .location-title %h1.page-title = @location.title %h3.tertiary-title =link_to area_path(id: @location.parent.slug) do = @location.parent.title .location-address %h4.tertiary-title = @location.festivity_address %br = "#{@location.festivity_city}, #{@location.festivity_state} #{@location.festivity_zip}" - unless @location.festivity_directions_url.blank? = link_to "Directions", "#{@location.festivity_directions_url}", class: 'button', target: '_blank' .location-media %img{src: @location.image, alt: "Lead Image"} .content-wrapper %section.primary-content = @location.body - if @location_events.events.any? %section.related-events %h3 Events at = @location.title - cache(@location_events.events, base_domain: current_site.base_domain) do - @location_events.events.each do |event| = render partial: 'festivity_events/event', locals: {event: event}
Version data entries
34 entries across 34 versions & 1 rubygems