Fold call for papers & call for tracks into one splashpage section
This commit is contained in:
parent
394448dc36
commit
f0c3fc357b
8 changed files with 73 additions and 83 deletions
14
app/views/conferences/_call_for_content.haml
Normal file
14
app/views/conferences/_call_for_content.haml
Normal 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue