Remove margin bottom in the table inside accordion. Divided into groups of 10 interests. Inserted interests in columns.

This commit is contained in:
Alessandro Cuoghi
2017-07-03 12:14:00 +02:00
committed by Senén Rodero Rodríguez
parent 7e2e94d709
commit 556e2598c3
4 changed files with 10 additions and 6 deletions

View File

@@ -1,16 +1,19 @@
<tr id="proposal_<%= proposal.id %>">
<td>
<%= link_to proposal.title, proposal, proposal.retired? ? {class: 'retired'} : {} %>
<%= link_to proposal.title, proposal, proposal.retired? ? { class: 'retired' } : {} %>
<br>
<%= proposal.summary %>
</td>
<% if author? %>
<% if can? :retire_form, proposal %>
<td class="text-center">
<%= link_to t("users.proposals.send_notification"), new_proposal_notification_path(proposal_id: proposal.id),
class: 'button hollow' %>
<%= link_to t("users.proposals.send_notification"),
new_proposal_notification_path(proposal_id: proposal.id),
class: 'button hollow' %>
</td>
<% end %>
<% if can? :new, ProposalNotification, author_id: proposal.author_id %>
<td class="text-center">
<% if proposal.retired? %>
<span class="label alert"><%= t('users.proposals.retired') %></span>