%= javascript_include_tag "searchjoy" %>
Searchjoy
<%= link_to "Live Stream", root_path, class: ("active" if !@search_type) %>
<% @search_types.each do |search_type| %>
<%= link_to search_type, overview_searches_path(search_type: search_type), class: ("active" if @search_type == search_type) %>
<% end %>
<% if @time_range %> <%= @time_range.first.strftime("%b %-e, %Y") %> to <%= @time_range.last.strftime("%b %-e, %Y") %>
<%= @time_zone.name.sub(" (US & Canada)", "") %>
<% end %>
<%= yield %>