Fold call for papers & call for tracks into one splashpage section

This commit is contained in:
James Mason 2017-11-21 10:56:46 -08:00
parent 394448dc36
commit f0c3fc357b
8 changed files with 73 additions and 83 deletions

View file

@ -0,0 +1,14 @@
= content_for :splash_nav do
%li
%a.smoothscroll{ href: '#call' } Call For Content
%section#call
.container
.row
- if @conference.call_for_events.try(:open?) ^ @conference.call_for_tracks.try(:open?)
.col-md-3.col-sm-3.hidden-xs  
- if @conference.call_for_events.try(:open?)
= render 'call_for_paper'
.col-md-2.col-sm-2  
- if @conference.call_for_tracks.try(:open?)
= render 'call_for_tracks'