%#
# @file
# This file contains code for rendering a new topic form.
# TODO: What code actually calls this? Is it old?
#%>
<%= form_for Topic.new, url: topics_url, remote: true do |form| %>
<%= form.autocomplete_field :name, autocomplete_topic_name_topics_path, :placeholder => "What is the name of your topic?" %>
<%= form.hidden_field :metacode, :value => "Action" %>
<%= form.hidden_field :x, :value => 0 %>
<%= form.hidden_field :y, :value => 0 %>
<%= form.hidden_field :grabTopic, :value => "null" %>
<%= form.hidden_field :addSynapse, :value => false %>
<% end %>