Add budget investements images specs

This commit is contained in:
Senén Rodero Rodríguez
2017-06-15 09:42:45 +02:00
parent c399692109
commit 673fc66011
9 changed files with 58 additions and 16 deletions

View File

@@ -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 %>