<% provide :title do %><%= @investment.title %><% end %>
<% content_for :canonical do %>
  <%= render "shared/canonical", href: budget_investment_url %>
<% end %>

<%= render partial: '/budgets/investments/investment_show', locals: {
  investment: @investment,
  investment_ids: @investment_ids,
  investment_votes: @investment_votes,
  ballot: @ballot
} %>

<div class="row">
  <div class="small-12 column">
    <%= render "budgets/investments/filter_subnav" %>
  </div>
</div>

<div class="tabs-content" data-tabs-content="investments_tabs">
  <div class="tabs-panel is-active" id="tab-comments">
    <%= render partial: '/comments/comment_tree', locals: { comment_tree: @comment_tree,
                                                            comment_flags: @comment_flags,
                                                            display_comments_count: false } %>
  </div>

  <%= render "milestones/milestones", milestoneable: @investment %>
</div>
