Removes question and supports on successfull proposals

This commit is contained in:
Alberto Garcia Cabeza
2016-09-12 18:06:43 +02:00
parent cff1f43a90
commit 77077b28b8

View File

@@ -1,13 +1,13 @@
<div id="<%= dom_id(proposal) %>" class="proposal-sucessfull">
<h3><%= link_to proposal.title, proposal %></h3>
<h4><%= proposal.question %></h4>
<div class="info">
<% if proposal.author.hidden? || proposal.author.erased? %>
<%= t("proposals.show.author_deleted") %>
<% else %>
<%= proposal.author.name %>
<% end %>
&nbsp;&bull;&nbsp;
<strong><%= t("proposals.proposal.supports", count: proposal.total_votes) %></strong>
<span class="bullet">&nbsp;&bull;&nbsp;</span>
<%= l proposal.created_at.to_date %>
</div>
</div>