metamaps--metamaps/app/views/maps/_newtopic.html.erb
2012-12-16 15:00:43 -05:00

9 lines
No EOL
431 B
Text

<div class="anypage">
<%= form_for Item.new, url: user_items_url(user), remote: true do |form| %>
<%= form.autocomplete_field :name, autocomplete_item_name_items_path, :placeholder => "What is the name of your topic?" %>
<%= form.hidden_field :x, :value => 0 %>
<%= form.hidden_field :y, :value => 0 %>
<%= form.hidden_field :map, :value => @map.id %>
<%= form.hidden_field :grabItem, :value => "null" %>
<% end %>
</div>