Skip to content

Commit

Permalink
new tag params: search-filter:hidden-fields, table-plus:table
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlarsen committed Jul 31, 2012
1 parent 98ad08d commit 13c074b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hobo_rapid/taglibs/plus/search_filter.dryml
@@ -1,6 +1,6 @@
<def tag="search-filter">
<form param="search-form" method="get" action="" with="&nil" merge-attrs >
<hidden-fields for-query-string skip="page, search"/>
<hidden-fields param for-query-string skip="page, search"/>
<span param="label"><t key="hobo.table_plus.search">Search</t></span>
<input class="search" type="search" name="search" value="&params[:search]"/>
<submit label="&t('hobo.table_plus.submit_label', :default=>'Go')" class="search-button" param="search-submit"/>
Expand Down
2 changes: 1 addition & 1 deletion hobo_rapid/taglibs/plus/table_plus.dryml
Expand Up @@ -30,7 +30,7 @@ sort-columns: a hash that allow you to map fields to sortable columns. The def
</div>
</div>

<table merge-attrs="&attributes & (attrs_for(:table) + attrs_for(:with_fields))" empty merge-params>
<table merge-attrs="&attributes & (attrs_for(:table) + attrs_for(:with_fields))" empty merge-params param>
<field-heading-row:>
<with-field-names merge-attrs="&all_attributes & attrs_for(:with_fields)">
<% col = sort_columns[scope.field_path] || scope.field_path
Expand Down

0 comments on commit 13c074b

Please sign in to comment.