Add budget investements images specs
This commit is contained in:
@@ -37,8 +37,11 @@
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<!-- TODO: ROCK&ROR: Markup rework accordingly to mockup definition -->
|
||||
<% if investment.image.exists? %>
|
||||
<%= image_tag investment.image.url(:large) %>
|
||||
<%= image_tag investment.image.url(:medium),
|
||||
title: investment.image_description,
|
||||
alt: investment.image_description %>
|
||||
<% end %>
|
||||
|
||||
<%= render 'shared/tags', taggable: investment %>
|
||||
|
||||
Reference in New Issue
Block a user