metamaps--metamaps/app/views/maps/_newsynapse.html.erb
2013-01-01 17:45:35 -05:00

8 lines
No EOL
403 B
Text

<div class="anypage">
<%= form_for Synapse.new, url: synapses_url, remote: true do |form| %>
<%= form.autocomplete_field :desc, autocomplete_synapse_desc_synapses_path, :placeholder => "Describe the connection..." %>
<%= form.hidden_field :topic1id, :value => 0 %>
<%= form.hidden_field :topic2id, :value => 0 %>
<%= form.hidden_field :map, :value => @map.id %>
<% end %>
</div>