Added style to the button to upload image into budgets/investments/new. Refactor some css into partecipation.scss for pass scss-lint.

This commit is contained in:
Alessandro Cuoghi
2017-06-23 16:17:46 +02:00
committed by Senén Rodero Rodríguez
parent 1327b7276d
commit ce3193e763
3 changed files with 97 additions and 62 deletions

View File

@@ -54,7 +54,12 @@
</div>
<div class="small-12 column">
<%= f.file_field :image, accept: 'image/jpeg' %>
<div class="image-upload">
<%= f.file_field :image, accept: 'image/jpeg', label: false, class:'show-for-sr' %>
<br>
<%= f.label :image, t("images.upload_image"), class:'button' %>
<p><%= investment_image_file_name(@investment) %></p>
</div>
</div>
<div class="small-12 column">