Moves sponsor email attribute from conference to contact
This commit is contained in:
parent
c0cdf3e6e5
commit
9376fe57e3
10 changed files with 49 additions and 11 deletions
|
|
@ -8,8 +8,8 @@
|
|||
-if !@conference.splashpage.sponsor_description.blank?
|
||||
.lead
|
||||
= markdown(@conference.splashpage.sponsor_description)
|
||||
-if !@conference.sponsor_email.blank?
|
||||
%h3= mail_to "#{ @conference.sponsor_email }", 'Become a Sponsor'
|
||||
-if @conference.contact && @conference.contact.sponsor_email.present?
|
||||
%h3= mail_to "#{ @conference.contact.sponsor_email }", 'Become a Sponsor'
|
||||
- if !@conference.sponsorship_levels.blank?
|
||||
- @conference.sponsorship_levels.each do |l|
|
||||
- if !l.sponsors.blank?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue