parent
7793497862
commit
fedb0753bf
42 changed files with 578 additions and 236 deletions
|
|
@ -4,9 +4,9 @@
|
|||
%div.container.text-center
|
||||
%div.row
|
||||
%h1 Registration
|
||||
- if @conference.registration_period && !@conference.registration_period.description.blank?
|
||||
- if !@conference.splashpage.registration_description.blank?
|
||||
.lead
|
||||
= markdown(@conference.registration_period.description)
|
||||
= markdown(@conference.splashpage.registration_description)
|
||||
- if @conference.registration_dates_given?
|
||||
-if @conference.registration_period.end_date >= Date.today
|
||||
%h4 Registration period #{ date_string(@conference.registration_period.start_date, @conference.registration_period.end_date) }
|
||||
|
|
@ -18,5 +18,5 @@
|
|||
- else
|
||||
= link_to "Register for #{@conference.short_title}", new_conference_conference_registrations_path(@conference.short_title), class: "btn btn-success btn-lg", target: '_blank'
|
||||
- if @conference.tickets.any?
|
||||
- if @conference.include_tickets_in_splash?
|
||||
- if @conference.splashpage.include_tickets
|
||||
= render 'tickets'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue