Sha256: 8f9221da896ecd6a50dc3119692423e6a42490e3be0fb3097d4847ef0f8c4e52
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 Bytes
Contents
- @title = "Matches for #{request.params['q'].inspect}" %script{ src: '/js/search.js', type: 'text/javascript', charset: 'utf-8' } .results{ 'data-query' => request.params['q'] } - if results.empty? %h2 No results - else - 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gitdocs-0.5.0.pre7 | lib/gitdocs/views/search.haml |