We're choosing the default `with_first_argument` style because it's the one we use the most.
24 lines
643 B
Plaintext
24 lines
643 B
Plaintext
<table>
|
|
<thead>
|
|
<tr>
|
|
<th><%= t("management.budgets.table_name") %></th>
|
|
<th><%= t("management.budgets.table_phase") %></th>
|
|
<th><%= t("management.budgets.table_actions") %></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% budgets.each do |budget| %>
|
|
<tr id="<%= dom_id(budget) %>">
|
|
<td><%= budget.name %></td>
|
|
<td><%= budget.current_phase.name %></td>
|
|
<td align="right">
|
|
<%= link_to t("management.budgets.print_investments"),
|
|
print_management_budget_investments_path(budget) %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<%= paginate budgets %>
|