Add community to investments

This commit is contained in:
taitus
2017-08-23 20:51:16 +02:00
parent 4539c5fa00
commit 895c942a39
11 changed files with 65 additions and 11 deletions

View File

@@ -123,6 +123,13 @@
<%= render 'follows/follow_button', follow: find_or_build_follow(current_user, investment) %>
<% end %>
<div class="sidebar-divider"></div>
<h2><%= t("community.sidebar.title") %></h2>
<p>
<%= t("community.sidebar.description") %>
</p>
<%= link_to t("community.sidebar.button_to_access"), community_path(investment.community_id), class: 'button hollow expanded' %>
</aside>
</div>
</section>