Sha256: f6108125c5d205b3578d8b6b201c2e30563b1709b3d42e342113df97928b5953
Contents?: true
Size: 748 Bytes
Versions: 10
Compression:
Stored size: 748 Bytes
Contents
<div id="search" class="search"> <% form_tag({ :controller => 'articles', :action => 'search' }, { :method => 'get', :id => 'sform' }) do -%> <p><input type="text" id="q" name="q" value="" /></p> <% end -%> <div id="loading" class="loading" style="display:none;">Searching...</div> <div id="results" class="results"></div> <%= observe_field 'q', :url => { :controller => 'live', :action => 'search' }, :frequency => 1, :loading => "Element.show('loading')", :complete => "Element.hide('loading')", :update => 'results', :with => "'q=' + escape($F('q'))" %> </div>
Version data entries
10 entries across 10 versions & 2 rubygems