Move the venue description to below the map.

This commit is contained in:
Michael Ball 2020-01-07 16:21:15 -08:00
parent 9a811b4a6c
commit 722bd8c008
2 changed files with 5 additions and 4 deletions

View file

@ -5,10 +5,6 @@
- cache [venue, lodgings, '#splash#lodging'] do
%section#lodging
.container
- if venue.location? and venue.description.present?
.row
.col-md-8.col-md-offset-2
= markdown(venue.description, escape_html=false)
.row
.col-md-12.text-center
%h2

View file

@ -5,6 +5,11 @@
%section#venue
- if venue.location?
= render '/conferences/venue_map', venue: venue
- if venue.description.present?
.container
.row
.col-md-8.col-md-offset-2
= markdown(venue.description, escape_html=false)
- else
- cache [venue, commercial, '#splash#venue'] do
.container