metamaps--metamaps/app/views/maps/_newsynapse.html.erb

8 lines
403 B
Text
Raw Normal View History

<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>