blob: bd8e911bfb1f519a4e06b207bec6be17fa25b56d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<div class="pre">
<h1 class="section"><%= @title %></h1>
<p><b><%= t.pages.search.results.you_were_searching_for %>:</b> <%= escape_html(@query) %></p>
</div>
<div id="tabs">
<ul>
<li><a href="#tags"><%= t.osm.tags %></a></li>
</ul>
<div id="tags">
<h2><%= t.osm.tags %></h2>
<table id="grid-tags">
</table>
</div>
</div>
<% javascript do
JQuery.ready do
JS.raw(%Q{
var tabs = jQuery('#tabs').tabs({
show: function(event, ui) {
resize_wrapper();
window.location.hash = ui.tab.hash;
create_flexigrid_for.search[ui.tab.hash.substring(1)](#{ @query.to_json });
}
});
})
end
end
%>
|