Sha256: b31a30dd252e221480d2eb09172a4bad459494da59f9540c65a6059ebff6ba23

Contents?: true

Size: 822 Bytes

Versions: 14

Compression:

Stored size: 822 Bytes

Contents

<def tag="search-filter">
  <form param="search-form" method="get" action="" with="&nil" merge-attrs >
    <hidden-fields param for-query-string skip="page, search"/>
    <span param="label"><t key="hobo.table_plus.search">Search</t></span>
    <input param 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"/>
  </form>
  <if test="&params[:search]">
    <form param="clear-form" method="get" action="" with="&nil" merge-attrs>
      <hidden-fields for-query-string skip="page, search"/>
      <input type="hidden" name="search" value=""/>
      <submit label="&t('hobo.table_plus.clear_label', :default=>'Clear')" class="search-button" param="clear-submit"/>
    </form>
  </if>
</def>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hobo_rapid-2.2.6 taglibs/plus/search_filter.dryml
hobo_rapid-2.2.5 taglibs/plus/search_filter.dryml
hobo_rapid-2.2.4 taglibs/plus/search_filter.dryml
hobo_rapid-2.2.3 taglibs/plus/search_filter.dryml
hobo_rapid-2.2.2 taglibs/plus/search_filter.dryml
hobo_rapid-2.2.1 taglibs/plus/search_filter.dryml
hobo_rapid-2.2.0 taglibs/plus/search_filter.dryml
hobo_rapid-2.1.2 taglibs/plus/search_filter.dryml
hobo_rapid-2.1.1 taglibs/plus/search_filter.dryml
hobo_rapid-2.1.0 taglibs/plus/search_filter.dryml
hobo_rapid-2.1.0.pre4 taglibs/plus/search_filter.dryml
hobo_rapid-2.1.0.pre3 taglibs/plus/search_filter.dryml
hobo_rapid-2.1.0.pre2 taglibs/plus/search_filter.dryml
hobo_rapid-2.1.0.pre1 taglibs/plus/search_filter.dryml