adds budget/budget_investment indexes to valuators
This commit is contained in:
committed by
Juanjo Bazán
parent
2d56415048
commit
0fc31b1259
17
app/views/valuation/budgets/index.html.erb
Normal file
17
app/views/valuation/budgets/index.html.erb
Normal 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 %>
|
||||
Reference in New Issue
Block a user