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

Version Path
rdfa-0.0.7 rdfa-typo/views/articles/_search.rhtml
rdfa-0.0.1 rdfa-typo/views/articles/_search.rhtml
rdfa-0.0.2 rdfa-typo/views/articles/_search.rhtml
rdfa-0.0.3 rdfa-typo/views/articles/_search.rhtml
rdfa-0.0.4 rdfa-typo/views/articles/_search.rhtml
rdfa-0.0.5 rdfa-typo/views/articles/_search.rhtml
rdfa-0.0.6 rdfa-typo/views/articles/_search.rhtml
rdfa-0.0.8 rdfa-typo/views/articles/_search.rhtml
typo-4.1.1 themes/scribbish/views/articles/_search.rhtml
typo-4.1 themes/scribbish/views/articles/_search.rhtml