changed advanced filter from budgets to budgets/investments

This commit is contained in:
Raúl Fuentes
2018-01-10 15:42:02 +01:00
parent a56be4bc5f
commit 93268fc5d6
16 changed files with 379 additions and 259 deletions

View File

@@ -18,7 +18,7 @@
<%= render '/budgets/investments/header' %>
<% end %>
<% if params[:search].present? %>
<% if params[:search].present? || params[:advanced_search].present? %>
<div class="highlight no-margin-top padding margin-bottom">
<div class="row">
<div class="small-12 column">
@@ -49,6 +49,8 @@
</div>
<% end %>
<%= render("shared/advanced_search", search_path: budget_investments_url(@budget)) %>
<%= render('shared/order_links', i18n_namespace: "budgets.investments.index") unless @current_filter == "unfeasible" %>
<% @investments.each do |investment| %>