blob: 00d276f2db1ee0f43e1bf62d633fd7bd24c4049d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<h1>Search results</h1>
<p><b>You were searching for:</b> <%= @escaped_search_string %></p>
<% if ! @key.nil? %>
<p><b>Exact match:</b> <a href="/keys/<%= h @key %>"><%= h @key %></a></p>
<% end %>
<% if @substring_keys %>
<p><b>Keys containing this word:</b>
<%= @substring_keys.map{ |key| "<a href='/keys/#{ h key }'>#{ h key }</a>" }.join(' • ') %></p>
<% end %>
|