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

14 lines
463 B
Text
Raw Normal View History

<%#
# @file
# Partial for rendered a new synapse form
# TODO: Is this used? Where?
#%>
<div class="anypage">
<%= form_for Synapse.new, url: synapses_url, remote: true do |form| %>
2014-02-05 01:28:06 +00:00
<%= form.text_field :desc, :placeholder => "describe the connection..." %>
<%= form.hidden_field :topic1id, :value => 0 %>
<%= form.hidden_field :topic2id, :value => 0 %>
2014-02-05 01:28:06 +00:00
<%= form.hidden_field :grabSynapse, :value => "null" %>
<% end %>
</div>