Sha256: 72dc37dfa48f9017d58eadc428870f8b740333198eccecc1cc2a17536a11f61d
Contents?: true
Size: 999 Bytes
Versions: 3
Compression:
Stored size: 999 Bytes
Contents
.search_form :javascript function set_pathname() { document.searchform.pathname.value = location.pathname; } %form(name="searchform" action="#{url_for '/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.3.0 | lib/milkode/cdweb/views/search_form.haml |
milkode-1.2.0 | lib/milkode/cdweb/views/search_form.haml |
milkode-1.1.0 | lib/milkode/cdweb/views/search_form.haml |