fix pool search

This commit is contained in:
albert
2013-02-17 15:16:47 -05:00
parent b4e338bf0f
commit 4b6a9136b9
2 changed files with 7 additions and 7 deletions

View File

@@ -113,7 +113,7 @@ module ApplicationHelper
def search_field(method, options = {})
name = options[:label] || method.titleize
raw '<div class="input"><label for="search_' + method + '">' + name + '</label><input type="text" name="search_' + method + '" id="search_' + method + '"></div>'
raw '<div class="input"><label for="search_' + method + '">' + name + '</label><input type="text" name="search[' + method + ']" id="search_' + method + '"></div>'
end
protected