Sha256: 8024bb93de66a27103488288ad11e0a5f699af938ae44ae7ccbe5037bb4f3299
Contents?: true
Size: 858 Bytes
Versions: 3
Compression:
Stored size: 858 Bytes
Contents
%form.friendly{:action => posts_url, :method => :get} %h2 =t('search_header') %p %label{:for => "q"} = t('search_form.query_label') = text_field_tag "q", params[:q], :class => 'titular' %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
3 entries across 3 versions & 1 rubygems