Add image errors to new budget investement form

This commit is contained in:
Senén Rodero Rodríguez
2017-06-24 21:47:37 +02:00
parent e7ac27a2b8
commit ec92749c00

View File

@@ -62,6 +62,14 @@
</div> </div>
</div> </div>
<% if @investment.errors.has_key?(:image) %>
<div class="small-12 column">
<div class="image-errors">
<small class="error"><%= errors_on_image(@investment)%></small>
</div>
</div>
<% end %>
<div class="small-12 column"> <div class="small-12 column">
<%= f.text_field :image_title %> <%= f.text_field :image_title %>
</div> </div>