app/views/admin/budget_investments/_written_by_author.html.erb
<div class="extra-info float-right">
<%= t "admin.budget_investments.show.info",
budget_name: @budget.name,
group_name: @investment.group.name,
id: @investment.id %>
</div>
<br>
<div class="admin-budget-investment-info">
<div class="row expanded">
<div class="small-12 medium-4 column">
<p title="<%= t("admin.budget_investments.show.group") %>: <%= @investment.group.name %>">
<strong><%= t("admin.budget_investments.show.heading") %></strong>:
<%= @investment.heading.name %>
</p>
</div>
<div class="small-12 medium-4 column">
<p>
<strong><%= t("admin.budget_investments.show.by") %></strong>:
<%= link_to @investment.author.name, admin_hidden_user_path(@investment.author) %>
</p>
</div>
<div class="small-12 medium-4 column">
<p>
<strong><%= t("admin.budget_investments.show.sent") %></strong>:
<%= l @investment.created_at, format: :datetime %>
</p>
</div>
</div>
<div class="row expanded">
<div class="small-12 medium-4 column">
<p>
<strong><%= t("admin.budget_investments.show.compatibility.title") %></strong>:
<%= t("admin.budget_investments.show.compatibility.#{@investment.incompatible?}") %>
</p>
</div>
<div class="small-12 medium-4 column">
<p>
<strong><%= t("admin.budget_investments.show.selection.title") %></strong>:
<%= @investment.class.human_attribute_name("selected_#{@investment.selected?}") %>
</p>
</div>
<div class="small-12 medium-4 column">
<p>
<strong><%= t("admin.budget_investments.show.winner.title") %></strong>:
<%= t("admin.budget_investments.show.winner.#{@investment.winner?}") %>
</p>
</div>
</div>
</div>
<% if @investment.external_url.present? %>
<p>
<%= sanitize_and_auto_link @investment.external_url %> <span class="icon-external small"></span>
</p>
<% end %>