Sha256: fd52bd762a004f9c6df494ab843300bddedcb4863e516ebcde6ffbd883936ee6

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

- @title = "Matches for #{request.params['q'].inspect}"

.results{ "data-query" => request.params['q'] }
  - results.each do |repo, search_results|
    %h2= repo.name
    %dl
      - search_results.each do |res|
        %dt
          %a{:href => "/#{repo.index}/#{res.file}"}
            = "/#{res.file}"
        %dd
          = res.context

%script{ :src => "/js/search.js", :type => "text/javascript", :charset => "utf-8" }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitdocs-0.4.1 lib/gitdocs/views/search.haml