Added partial to display long description properly
This commit is contained in:
parent
73c2361471
commit
8dc2514852
3 changed files with 27 additions and 1 deletions
|
|
@ -44,7 +44,8 @@
|
|||
p.subtitle Description
|
||||
// TODO: split long_description by <p> tags
|
||||
- if @package.long_description.present?
|
||||
p =@package.long_description
|
||||
= render(partial: 'long_description', locals: {text: @package.long_description})
|
||||
/ p =@package.long_description
|
||||
- else
|
||||
p Sorry - no more information available.
|
||||
- if @package.homepage.present?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue