"> <% if feature?(:allow_images) && investment.image.present? %>
<%= image_tag investment.image_url(:thumb), alt: investment.image.title.unicode_normalize %>
<% else %>
<% end %>
<% cache [locale_and_user_status(investment), "index", investment, investment.author] do %>

<%= link_to investment.title, namespaced_budget_investment_path(investment) %>

<%= l investment.created_at.to_date %> <% if investment.author.hidden? || investment.author.erased? %>  •  <%= t("budgets.investments.show.author_deleted") %> <% else %>  •  <%= investment.author.name %> <% if investment.author.official? %>  •  <%= investment.author.official_position %> <% end %> <% end %>  •  <%= investment.heading.name %>

<%= investment.description %>
<%= render "shared/tags", taggable: investment, limit: 5 %> <% end %>
<% unless investment.unfeasible? %> <% if investment.should_show_votes? %>
> <%= render partial: "/budgets/investments/votes", locals: { investment: investment, investment_votes: investment_votes, vote_url: namespaced_budget_investment_vote_path(investment, value: "yes") } %>
<% elsif investment.should_show_vote_count? %>
>
<%= t("budgets.investments.investment.supports", count: investment.total_votes) %>
<% elsif investment.should_show_ballots? && !management_controller? %>
> <%= render partial: "/budgets/investments/ballot", locals: { investment: investment, investment_ids: investment_ids, ballot: ballot } %>
<% elsif investment.should_show_price? %>
>
<%= investment.formatted_price %>
<% else %>
>
<% end %> <% end %>