osem-fcy/app/views/conferences/_call_for_booths.html.haml

30 lines
1.1 KiB
Text

= content_for :splash_nav do
%li
%a.smoothscroll{ href: '#callforbooths' } Call For Booths
.container
.row
.col-md-12.text-center
%h2
Call for Booths
%p.lead
We are ready to accept requests for booths!
.row
.col-md-6.col-md-offset-3.col-sm-10.col-sm-offset-1
%p
The submission period for booth requests has begun
%em.notranslate
= @conference.program.cfps.for_booths.start_date.strftime('%A, %B %-d. %Y')
and closes
%em.notranslate
= @conference.program.cfps.for_booths.end_date.strftime('%A, %B %-d. %Y.')
- if @conference.program.cfps.for_booths.try(:open?)
That means you have only
%b.notranslate= pluralize(@conference.program.cfps.for_booths.remaining_days, 'day')
left!
- else
The submission period for booth requests is closed.
.row
.col-md-12.text-center
%p.cta-button
= link_to "Submit your request for booth", conference_booths_path(@conference.short_title), class: 'btn btn-success btn-lg text-center'