Previously, they could share an id, which is illegal HTML. Also fixes an unrelated bug with a hardcoded table name. --- src/app/views/layouts/_filter_table.haml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/views/layouts/_filter_table.haml b/src/app/views/layouts/_filter_table.haml index 5fd716d..1c50d2d 100644 --- a/src/app/views/layouts/_filter_table.haml +++ b/src/app/views/layouts/_filter_table.haml @@ -3,14 +3,14 @@ = form_header %p Viewing - = select_tag("select_pools", saved_searches.join.html_safe,:disabled => true) + = select_tag("select_#{lower_class}", saved_searches.join.html_safe,:disabled => true) = object_count.to_s + " results" = text_field_tag :q, search_term || "Search result for...", :disabled => true = link_to('Filters', '#') %p = link_to('Share this view', '#') = link_to('Add/Remove Columns', '#') - %table(id="#{lower_class}_table") + %table(class="#{lower_class}_table") %thead %tr - columns.each do |column|