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:
committed by
Senén Rodero Rodríguez
parent
1327b7276d
commit
ce3193e763
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user