Adds lodging splash view
Check for venue photo before rendering
This commit is contained in:
parent
01bd45a045
commit
0b6b046016
4 changed files with 38 additions and 8 deletions
|
|
@ -13,6 +13,9 @@
|
|||
-unless @conference.venue.blank?
|
||||
%div#location
|
||||
= render 'location'
|
||||
- if @conference.venue
|
||||
- unless @conference.venue.lodgings.empty?
|
||||
= render 'lodging'
|
||||
%div#sponsors
|
||||
= render 'sponsor'
|
||||
%div#social-media
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue