63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
{#
|
|
# @file
|
|
# Partial view, renders a form that creates a new map.
|
|
#}
|
|
<div class="onConsole">
|
|
{ form_for Map.new, url: maps_url, remote: true, html: { class: "new_map", id: "fork_map" } do |form|}
|
|
|
|
<h3 class="forCreateMap">Save To New Map</h3>
|
|
|
|
<div class="inputGroup">
|
|
<label for="map_name">Name: </label>
|
|
{ form.text_field :name, :maxlength => 140 }
|
|
<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">
|
|
<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">
|
|
Anyone with an account can edit this map. Anyone without an account can only view it.
|
|
</div>
|
|
</div>
|
|
<h4>COMMONS</h4>
|
|
</div>
|
|
<div class="permIcon" data-permission="public">
|
|
<div id="newmap_pu" class="mapPublicIcon mapPermIcon">
|
|
<div class="tip">
|
|
Only people you allow can edit this map. Anyone can view it.
|
|
</div>
|
|
</div>
|
|
<h4>PUBLIC</h4>
|
|
</div>
|
|
<div class="permIcon" data-permission="private">
|
|
<div id="newmap_pr" class="mapPrivateIcon mapPermIcon">
|
|
<div class="tip">
|
|
Only people you allow can edit this map. No one else can view it.
|
|
</div>
|
|
</div>
|
|
<h4>PRIVATE</h4>
|
|
</div>
|
|
<div class="clearfloat"></div>
|
|
</div>
|
|
<p class="permText">Anyone with an account can edit this map. Anyone without an account can only view it.</p>
|
|
<div class="clearfloat"></div>
|
|
</div>
|
|
|
|
<div class="buttonWrapper">
|
|
<button class="button cancel">Cancel</button>
|
|
<button class="button submitMap">Create!</button>
|
|
</div>
|
|
<div class="clearfloat"></div>
|
|
{ end }
|
|
</div>
|