Added hints to description fields to use markdown syntax, rendered all description fields in the splash as markdown
This commit is contained in:
parent
f6a9142510
commit
8efcd69f3d
15 changed files with 30 additions and 24 deletions
|
|
@ -2,7 +2,7 @@
|
|||
%h2 Lodgings
|
||||
-unless @conference.lodging_description.blank?
|
||||
%p.lead
|
||||
= @conference.lodging_description
|
||||
= markdown(@conference.lodging_description)
|
||||
|
||||
%div.row.text-center
|
||||
- @conference.venue.lodgings.each do |r|
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
-unless r.name.blank?
|
||||
%h4.text-center #{ r.name }
|
||||
-unless r.description.blank?
|
||||
%p.text-left #{ r.description }
|
||||
%p.text-left #{ markdown(r.description) }
|
||||
- unless r.website_link.blank?
|
||||
.text-center
|
||||
= link_to 'Go to Website', r.website_link
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue