Sha256: 0a1de756a0fe72a7d636076ff6f8ef6c3a75fe323d43de3af7d7202655e49514

Contents?: true

Size: 751 Bytes

Versions: 1

Compression:

Stored size: 751 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hobo_rapid-1.4.0.pre7 taglibs/plus/search_filter.dryml