% if authenticated? %>
<% end %>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<%= content_tag :div, class: authenticated? ? "main authenticated" : "main unauthenticated" do %>
Find...
by
<%= form_for Item.new, :html => { :class => "find_topic_by_name", :id => "find_topic_by_name" } do |f| %>
<%= f.autocomplete_field :name, autocomplete_item_name_items_path, :placeholder => "Search for topics..." %>
<% end %>
<% end %>
<%= render :partial => 'layouts/ga' if Rails.env.production? %>