Sha256: 4ce0c1352e602887b39f87f9913c195bc3f84a9f9bc87100cf4ab2a479619ada

Contents?: true

Size: 488 Bytes

Versions: 4

Compression:

Stored size: 488 Bytes

Contents

%h2
  = "Search for '#{params[:q]}'"
- if params[:q]
  %ul
    - @search_results.each do |search_result|
      %li
        %a{:href => "/features/#{search_result.feature["id"]}"}
          = search_result.feature["name"]
        %ul
          - search_result.matched_scenarios.each do |scenario|
            %li
              %a{:href => "/features/#{scenario["id"].gsub(";", "/scenario/")}"}
                = scenario["name"]
- else
  %p Where's Wally? This search returned no results.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wally-0.0.5 lib/wally/views/search.haml
wally-0.0.3 lib/wally/views/search.haml
wally-0.0.2 lib/wally/views/search.haml
wally-0.0.1 lib/wally/views/search.haml