Sha256: f9f2c8282f377e053b61127057d4900178481b87058953ca99a2487d710fa76b
Contents?: true
Size: 996 Bytes
Versions: 7
Compression:
Stored size: 996 Bytes
Contents
- minimal ||= false %form.friendly{:action => posts_url, :method => :get} - unless minimal %h2 =t('search_header') %p %label{:for => "q"} = t(minimal ? 'search_form.minimal_query_label' : 'search_form.query_label') = text_field_tag "q", params[:q], :class => 'titular' - unless minimal %p %label{:for => "forum_id"} = t('search_form.forum_label') %select{:name => "forum_id"} %option{:value => ""}= t('anywhere') = options_from_collection_for_select(Forum.find(:all), "id", "name", params[:forum_id].to_i) - if Radiant::Config['forum.allow_search_by_reader?'] %p %label{:for => "reader_id"} = t('search_form.person_label') %select{:name => "reader_id"} %option{:value => ""} =t('anyone') = options_from_collection_for_select(Reader.find(:all), "id", "name", params[:reader_id].to_i) %p.buttons %input{:type => 'submit', :value => "Search"}
Version data entries
7 entries across 7 versions & 1 rubygems