metamaps--metamaps/app/views/items/_new.html.erb

10 lines
426 B
Text
Raw Normal View History

<div class="anypage">
<%= 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 %>
2012-12-16 20:00:43 +00:00
<%= form.hidden_field :grabItem, :value => "null" %>
2012-12-21 00:24:27 +00:00
<%= form.hidden_field :addSynapse, :value => false %>
<% end %>
</div>