Sha256: 7a42ded6b2545f4b481c3a0fbf7b64d3c42505415828241ae3e93016c66df20f

Contents?: true

Size: 408 Bytes

Versions: 15

Compression:

Stored size: 408 Bytes

Contents

%h2 Search

= form_tag "/form/search/all" do |f|

  = text_field_tag :for, params[:for]

  = submit_tag "Search"

- if @results
  = paginate @results

  %ul
    - @results.each do |result|
      - sub = result.load
      %li
        - if sub.form.search_result_format.not_blank?
          = render :inline=>sub.form.search_result_format,  :locals=>{:submission=>sub}
        - else
          = sub.name
    

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kit_cms-2.3.22 app/views/form/search.html.haml
kit_cms-2.3.20 app/views/form/search.html.haml
kit_cms-2.3.19 app/views/form/search.html.haml
kit_cms-2.3.18 app/views/form/search.html.haml
kit_cms-2.3.17 app/views/form/search.html.haml
kit_cms-2.3.16 app/views/form/search.html.haml
kit_cms-2.3.15 app/views/form/search.html.haml
kit_cms-2.3.14 app/views/form/search.html.haml
kit_cms-2.3.13 app/views/form/search.html.haml
kit_cms-2.3.11 app/views/form/search.html.haml
kit_cms-2.3.10 app/views/form/search.html.haml
kit_cms-2.3.9 app/views/form/search.html.haml
kit_cms-2.3.8 app/views/form/search.html.haml
kit_cms-2.3.7 app/views/form/search.html.haml
kit_cms-2.3.6 app/views/form/search.html.haml