osem-fcy/app/views/conference/_registration.html.haml

20 lines
946 B
Text
Raw Normal View History

= content_for :splash_nav do
%li
2014-06-26 15:13:23 +05:30
%a.smoothscroll{ href: '#registration' } Registration
%div.container.text-center
%div.row
%h1 Registration
- if !@conference.registration_description.blank?
2014-08-01 12:23:33 +05:30
.lead
= markdown(@conference.registration_description)
- if @conference.registration_dates_given?
-if @conference.registration_end_date >= Date.today
%h4 Registration period #{ date_string(@conference.registration_start_date, @conference.registration_end_date) }
-else
%h4 Registration is Closed, it was from #{ date_string(@conference.registration_start_date, @conference.registration_end_date) }
- if @conference.registration_open?
2014-08-12 11:51:59 +03:00
= link_to "Register for #{@conference.short_title}", conference_register_path(@conference.short_title), :class =>"btn btn-success btn-lg", target: '_blank'
2014-05-29 20:23:33 +05:30
- if @conference.use_supporter_levels?
2014-06-18 22:25:42 +05:30
- if @conference.include_tickets_in_splash?
= render 'tickets'