Merge pull request #763 from davidsf/hide_free_of_charge_msg
Hide free of charge message
This commit is contained in:
commit
610d83d215
1 changed files with 13 additions and 8 deletions
|
|
@ -6,14 +6,19 @@
|
||||||
.row
|
.row
|
||||||
.col-md-12.text-center
|
.col-md-12.text-center
|
||||||
%h1 Registration
|
%h1 Registration
|
||||||
%p.lead
|
- if @conference.tickets.empty?
|
||||||
Going to
|
%p.lead
|
||||||
= @conference.short_title
|
Going to
|
||||||
is free of charge.
|
= @conference.short_title
|
||||||
%p
|
is free of charge.
|
||||||
We only ask you to register yourself until
|
%p
|
||||||
= @conference.registration_period.end_date.strftime('%A, %B %-d. %Y')
|
We only ask you to register yourself until
|
||||||
so we can plan for the right amount of people.
|
= @conference.registration_period.end_date.strftime('%A, %B %-d. %Y')
|
||||||
|
so we can plan for the right amount of people.
|
||||||
|
- else
|
||||||
|
%p
|
||||||
|
The registration period ends on
|
||||||
|
= @conference.registration_period.end_date.strftime('%A, %B %-d. %Y')
|
||||||
%p.cta-button
|
%p.cta-button
|
||||||
= link_to(new_conference_conference_registrations_path(@conference.short_title), class: 'btn btn-lg btn-success') do
|
= link_to(new_conference_conference_registrations_path(@conference.short_title), class: 'btn btn-lg btn-success') do
|
||||||
Register Now
|
Register Now
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue