2014-05-28 18:12:45 +05:30
|
|
|
= content_for :splash_nav do
|
|
|
|
|
%li
|
2014-06-26 15:13:23 +05:30
|
|
|
%a.smoothscroll{ href: '#registration' } Registration
|
2014-05-28 18:12:45 +05:30
|
|
|
%div.container.text-center
|
|
|
|
|
%div.row
|
2014-06-24 20:05:45 +05:30
|
|
|
%h1 Registration
|
2014-08-30 12:08:24 +02:00
|
|
|
- if !@conference.splashpage.registration_description.blank?
|
2014-08-01 12:23:33 +05:30
|
|
|
.lead
|
2014-08-30 12:08:24 +02:00
|
|
|
= markdown(@conference.splashpage.registration_description)
|
2014-06-05 01:12:43 +05:30
|
|
|
- if @conference.registration_dates_given?
|
2014-08-18 14:33:02 +02:00
|
|
|
-if @conference.registration_period.end_date >= Date.today
|
|
|
|
|
%h4 Registration period #{ date_string(@conference.registration_period.start_date, @conference.registration_period.end_date) }
|
2014-06-05 01:12:43 +05:30
|
|
|
-else
|
2014-08-18 14:33:02 +02:00
|
|
|
%h4 Registration is Closed, it was from #{ date_string(@conference.registration_period.start_date, @conference.registration_period.end_date) }
|
2014-05-28 18:12:45 +05:30
|
|
|
- if @conference.registration_open?
|
2014-08-22 15:08:54 +02:00
|
|
|
- if current_user && @conference.user_registered?(current_user)
|
|
|
|
|
= link_to "Modify Registration for #{@conference.short_title}", edit_conference_conference_registrations_path(@conference.short_title), class: "btn btn-success btn-lg", target: '_blank'
|
|
|
|
|
- else
|
|
|
|
|
= link_to "Register for #{@conference.short_title}", new_conference_conference_registrations_path(@conference.short_title), class: "btn btn-success btn-lg", target: '_blank'
|
2014-08-28 15:21:05 +02:00
|
|
|
- if @conference.tickets.any?
|
2014-08-30 12:08:24 +02:00
|
|
|
- if @conference.splashpage.include_tickets
|
2014-06-18 22:25:42 +05:30
|
|
|
= render 'tickets'
|