Sha256: 3f73f4a29a0cdc215b615f4e61069d50ee0f8cf898f6556b56628b736d03a9e0

Contents?: true

Size: 779 Bytes

Versions: 3

Compression:

Stored size: 779 Bytes

Contents

<div id="search" class="search">
    <% form_tag({ :controller => 'articles', :action => 'search' },
                { :method => 'get', :id => 'sform' }) do -%>
			<h3>Search</h3>
      <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=' + encodeURIComponent($F('q'))" %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typo-5.0.2 themes/standard_issue/views/shared/_search.html.erb
typo-5.0.1 themes/standard_issue/views/shared/_search.html.erb
typo-5.0 themes/standard_issue/views/shared/_search.html.erb