Added hints to description fields to use markdown syntax, rendered all description fields in the splash as markdown

This commit is contained in:
Gopesh Tulsyan 2014-06-29 17:44:27 +05:30
parent f6a9142510
commit 8efcd69f3d
15 changed files with 30 additions and 24 deletions

View file

@ -6,7 +6,8 @@
%div.col-md-12
%h2 Sponsors
-if !@conference.sponsor_description.blank?
%p #{ @conference.sponsor_description }
%p
= markdown(@conference.sponsor_description)
-if !@conference.sponsor_email.blank?
%h3= mail_to "#{ @conference.sponsor_email }", 'Become a Sponsor'
- if !@conference.sponsorship_levels.blank?