Move followable button to sidebar after social share buttons

This commit is contained in:
Senén Rodero Rodríguez
2017-07-11 10:30:07 +02:00
parent 58b1ee57cf
commit 503e079909
2 changed files with 6 additions and 9 deletions

View File

@@ -13,12 +13,6 @@
<%= l investment.created_at.to_date %>
<span class="bullet">&nbsp;&bull;&nbsp;</span>
<%= investment.heading.name %>
<% if current_user %>
<span class="bullet">&nbsp;&bull;&nbsp;</span>
<%= render 'follows/followable_button', followable: investment %>
<% end %>
</div>
<br>
@@ -118,6 +112,9 @@
title: investment.title,
url: budget_investment_url(budget_id: investment.budget_id, id: investment.id)
} %>
<%= render 'follows/followable_button', followable: investment if current_user %>
</aside>
</div>
</section>