2012-12-16 20:00:43 +00:00
|
|
|
<div class="anypage">
|
2012-12-21 23:07:13 +00:00
|
|
|
<%= form_for Item.new, url: items_url, remote: true do |form| %>
|
2012-12-16 20:00:43 +00:00
|
|
|
<%= 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" %>
|
2012-10-26 10:04:52 +00:00
|
|
|
<% end %>
|
|
|
|
</div>
|