Add image to budget investments.

This commit is contained in:
taitus
2017-06-12 19:33:26 +02:00
committed by Senén Rodero Rodríguez
parent f2e44f0730
commit 7b88e63136
7 changed files with 33 additions and 2 deletions

View File

@@ -37,6 +37,10 @@
</p>
<% end %>
<% if investment.image.exists? %>
<%= image_tag investment.image.url(:large) %>
<% end %>
<%= render 'shared/tags', taggable: investment %>
<%= safe_html_with_links investment.description.html_safe %>