Sha256: 1a165d3a1d23300a62f6d6e0e5fd46c3cde0a57f4908b020ef49eabb310c1ef1

Contents?: true

Size: 738 Bytes

Versions: 1

Compression:

Stored size: 738 Bytes

Contents

:javascript
  function set_pathname() {
    document.searchform.pathname.value = location.pathname;
  }
%form(name="searchform" action="/search" method="post")
  %p
    %input(name="query" size="60" type="text"){:value => params[:query]}
    %input(type="submit" value="検索" onclick="set_pathname()")
    %br
    %label
      = create_radio('all', params[:shead])
      全体を検索
    %label
      = create_radio('package', params[:shead])
      = package_name(@path) + '以下'
    %label
      = create_radio('directory', params[:shead])
      = current_name(@path) + '以下'
    %label
      = create_checkbox('onematch', params[:onematch])
      = '1ファイル1マッチ'
    %input(name="pathname" type="hidden" value="")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
milkode-0.5.0 lib/milkode/cdweb/views/search_form.haml