Files
nairobi/app/views/users/_proposals.html.erb
Javi Martín 67a13d5fea Use local variables in user profile partials
This way we'll be able to render the partials from places like a
component.
2021-10-05 13:26:30 +02:00

17 lines
458 B
Plaintext

<table class="margin-top">
<thead>
<tr>
<th scope="col"><%= t("users.show.proposals") %></th>
<th scope="col" class="text-center"><%= t("users.show.proposals_status") %></th>
<th scope="col" class="text-center"><%= t("users.proposals.actions") %></th>
</tr>
</thead>
<tbody>
<% proposals.each do |proposal| %>
<%= render "proposal", proposal: proposal %>
<% end %>
</tbody>
</table>
<%= paginate proposals %>