adds budget/budget_investment indexes to valuators

This commit is contained in:
Juanjo Bazán
2016-09-08 11:44:07 +02:00
committed by Juanjo Bazán
parent 2d56415048
commit 0fc31b1259
18 changed files with 460 additions and 19 deletions

View File

@@ -0,0 +1,17 @@
<h2 class="inline-block"><%= t("valuation.budgets.index.title") %></h2>
<%= render 'shared/filter_subnav', i18n_namespace: "valuation.budgets.index" %>
<h3><%= page_entries_info @budgets %></h3>
<table>
<% @budgets.each do |budget| %>
<tr id="<%= dom_id(budget) %>" class="budget">
<td>
<%= link_to budget.name, valuation_budget_budget_investments_path(budget_id: budget.id) %>
</td>
</tr>
<% end %>
</table>
<%= paginate @budgets %>