Sha256: dd559d064f9fd14177d9d0dbd840db049f8d7151d52e208bb71bdfed62e71ff8

Contents?: true

Size: 986 Bytes

Versions: 3

Compression:

Stored size: 986 Bytes

Contents

.search_form
  :javascript
    function set_pathname() {
      document.searchform.pathname.value = location.pathname;
    }
  %form(name="searchform" action="/search" method="post")
    %p
      %input#query(name="query" size="70" type="text" style="width: 419px;"){:value => params[:query]}
      %input#search(type="submit" name="search" value="検索" onclick="set_pathname()")
      %input#newtab(type="submit" name="newtab" value="新規タブ" onclick="open_newtab(); return false;")
      %input#clear(type="submit" name="clear" value="クリア" onclick="set_pathname()")
      %br
      範囲:
      = create_select_shead(params[:shead])
      パッケージ:
      = create_select_package(@path)
      = create_checkbox('onematch', params[:onematch], '1ファイル1マッチ')
      = create_checkbox('sensitive', params[:sensitive], '大文字/小文字を区別')
      = create_favorite_list(@package_list)
      
      %input(name="pathname" type="hidden" value="")

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
milkode-1.0.2 lib/milkode/cdweb/views/search_form.haml
milkode-1.0.0 lib/milkode/cdweb/views/search_form.haml
milkode-0.9.9.9 lib/milkode/cdweb/views/search_form.haml