2013-01-11 23:49:59 +00:00
|
|
|
<%#
|
|
|
|
# @file
|
|
|
|
# Partial view, renders a form that creates a new map.
|
|
|
|
#%>
|
2012-12-25 23:29:20 +00:00
|
|
|
<div class="onConsole">
|
2014-01-31 00:32:15 +00:00
|
|
|
<%= form_for Map.new, url: maps_url, remote: true, html: { class: "new_map", id: "new_map" } do |form|%>
|
|
|
|
<h3>Create A New Map</h3>
|
2012-12-25 23:29:20 +00:00
|
|
|
<label for="map_name">Name</label>
|
|
|
|
<%= form.text_field :name %>
|
|
|
|
<label for="map_desc">Description</label>
|
|
|
|
<%= form.text_area :desc, class: "description", :rows => 5 %>
|
2014-02-05 17:37:21 +00:00
|
|
|
<label for="map_permission">Permission</label>
|
|
|
|
|
|
|
|
<%= form.hidden_field :permission, :value => "commons" %>
|
2013-01-18 22:08:06 +00:00
|
|
|
<p>Topics and synapses you create newly on this map will be set by default to the permissions of your map.</p>
|
2012-12-25 23:29:20 +00:00
|
|
|
<%= form.submit "Save", class: "add" %>
|
2014-02-05 17:37:21 +00:00
|
|
|
<button class="button" onclick="$('#lightbox_overlay').hide();return false">Cancel</button>
|
2012-12-25 23:29:20 +00:00
|
|
|
<div class="clearfloat"></div>
|
|
|
|
<% end %>
|
2013-01-08 03:05:27 +00:00
|
|
|
</div>
|