added synapsesToMap to maps/_new.html.erb so they can be passed to maps controller

This commit is contained in:
Devin Howard 2013-01-07 22:05:27 -05:00
parent e481dcd822
commit a7d4debd02

View file

@ -8,6 +8,7 @@
<label for="map_permission">Permission</label>
<%= form.select(:permission, options_for_select(['commons', 'public', 'private'])) %>
<%= form.hidden_field :topicsToMap, :value => 0 %>
<%= form.hidden_field :synapsesToMap, :value => 0 %>
<%= form.submit "Save", class: "add" %>
<button onclick="$('#new_map').fadeOut('fast'); event.preventDefault();">Cancel</button>
<div class="clearfloat"></div>