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|%>
|
2014-09-09 19:13:53 +00:00
|
|
|
<h3 class="forCreateMap">Create New Map</h3>
|
2014-02-06 17:40:44 +00:00
|
|
|
|
|
|
|
<div class="inputGroup">
|
|
|
|
<label for="map_name">Name: </label>
|
2014-11-02 21:04:53 +00:00
|
|
|
<%= form.text_field :name, :maxlength => 140 %>
|
2014-02-06 17:40:44 +00:00
|
|
|
<div class="clearfloat"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="inputGroup">
|
|
|
|
<label for="map_desc">Description: </label>
|
|
|
|
<%= form.text_area :desc, class: "description", :rows => 5, :cols => 43 %>
|
|
|
|
<div class="clearfloat"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="inputGroup">
|
2014-09-09 19:13:53 +00:00
|
|
|
<label for="map_permission">Permission*: </label>
|
|
|
|
<p class="permHelper">*new topics and synapses take on the same permission as the map they are created on</p>
|
|
|
|
<div class="permIconWrapper">
|
|
|
|
<div class="permIcon" data-permission="commons">
|
|
|
|
<div id="newmap_co" class="mapCommonsIcon mapPermIcon selected">
|
|
|
|
<div class="tip">
|
2014-10-29 16:26:55 +00:00
|
|
|
Collaborate with other mappers on editing this map. Only those with accounts can view this map.
|
2014-09-09 19:13:53 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h4>COMMONS</h4>
|
2014-02-07 17:55:11 +00:00
|
|
|
</div>
|
2014-09-09 19:13:53 +00:00
|
|
|
<div class="permIcon" data-permission="public">
|
|
|
|
<div id="newmap_pu" class="mapPublicIcon mapPermIcon">
|
|
|
|
<div class="tip">
|
2014-11-11 12:10:55 +00:00
|
|
|
Anyone with an account can view this map but not edit anything.
|
2014-09-09 19:13:53 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h4>PUBLIC</h4>
|
2014-02-07 17:55:11 +00:00
|
|
|
</div>
|
2014-09-09 19:13:53 +00:00
|
|
|
<div class="permIcon" data-permission="private">
|
|
|
|
<div id="newmap_pr" class="mapPrivateIcon mapPermIcon">
|
|
|
|
<div class="tip">
|
|
|
|
Only you can view or edit this map.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h4>PRIVATE</h4>
|
2014-02-07 17:55:11 +00:00
|
|
|
</div>
|
2014-09-09 19:13:53 +00:00
|
|
|
<div class="clearfloat"></div>
|
2014-02-06 17:40:44 +00:00
|
|
|
</div>
|
2014-10-29 16:26:55 +00:00
|
|
|
<p class="permText">Collaborate with other mappers on editing this map. Everyone with an account can view this map.</p>
|
2014-02-06 17:40:44 +00:00
|
|
|
<div class="clearfloat"></div>
|
2014-09-09 19:13:53 +00:00
|
|
|
</div>
|
2014-02-06 17:40:44 +00:00
|
|
|
|
|
|
|
<div class="buttonWrapper">
|
2014-07-30 03:18:43 +00:00
|
|
|
<button class="button cancel">Cancel</button>
|
|
|
|
<button class="button submitMap">Create!</button>
|
2014-02-06 17:40:44 +00:00
|
|
|
</div>
|
2012-12-25 23:29:20 +00:00
|
|
|
<div class="clearfloat"></div>
|
|
|
|
<% end %>
|
2013-01-08 03:05:27 +00:00
|
|
|
</div>
|