Moved filters ouside of ingredient table, so they are always visible
This commit is contained in:
parent
13703dc8ed
commit
7032bd4fb0
@ -1,7 +1,7 @@
|
||||
<% if @ingredients.any? { |i| i.persisted? } %>
|
||||
<%= render :partial => 'ingredients/filters',
|
||||
<%= render :partial => 'ingredients/filters',
|
||||
:locals => {:url => filter_project_ingredients_path(@project)} %>
|
||||
|
||||
<% if @ingredients.any? { |i| i.persisted? } %>
|
||||
<table class="list">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<% if @nutrients.any? %>
|
||||
<%= render :partial => 'ingredients/filters',
|
||||
<%= render :partial => 'ingredients/filters',
|
||||
:locals => {:url => filter_nutrients_project_ingredients_path(@project)} %>
|
||||
|
||||
<% if @nutrients.any? %>
|
||||
<%= render :partial => 'ingredients/options' %>
|
||||
|
||||
<table class="nutrients list odd-even">
|
||||
|
Reference in New Issue
Block a user