2013-01-11 23:49:59 +00:00
|
|
|
<%#
|
|
|
|
# Partial rendering form for a new topic on a map
|
|
|
|
# TODO: Where is this code used?
|
|
|
|
#%>
|
2012-12-16 20:00:43 +00:00
|
|
|
<div class="anypage">
|
2013-01-01 22:45:35 +00:00
|
|
|
<%= form_for Topic.new, url: topics_url, remote: true do |form| %>
|
2012-12-25 23:29:20 +00:00
|
|
|
<div id="metacodeImg"><img class="cloudcarousel" width="40" height="40" src="/assets/action.png" alt="Action" title="Action"/><img class="cloudcarousel" width="40" height="40" src="/assets/activity.png" alt="Activity" title="Activity"/><img class="cloudcarousel" width="40" height="40" src="/assets/bizarre.png" alt="Bizarre" title="Bizarre"/><img class="cloudcarousel" width="40" height="40" src="/assets/catalyst.png" alt="Catalyst" title="Catalyst"/><img class="cloudcarousel" width="40" height="40" src="/assets/closed.png" alt="Closed" title="Closed"/><img class="cloudcarousel" width="40" height="40" src="/assets/experience.png" alt="Experience" title="Experience"/><img class="cloudcarousel" width="40" height="40" src="/assets/futuredev.png" alt="Future Dev" title="Future Dev"/><img class="cloudcarousel" width="40" height="40" src="/assets/group.png" alt="Group" title="Group"/><img class="cloudcarousel" width="40" height="40" src="/assets/idea.png" alt="Idea" title="Idea"/><img class="cloudcarousel" width="40" height="40" src="/assets/implication.png" alt="Implication" title="Implication"/><img class="cloudcarousel" width="40" height="40" src="/assets/insight.png" alt="Insight" title="Insight"/><img class="cloudcarousel" width="40" height="40" src="/assets/intention.png" alt="Intention" title="Intention"/><img class="cloudcarousel" width="40" height="40" src="/assets/knowledge.png" alt="Knowledge" title="Knowledge"/><img class="cloudcarousel" width="40" height="40" src="/assets/location.png" alt="Location" title="Location"/><img class="cloudcarousel" width="40" height="40" src="/assets/openissue.png" alt="Open Issue" title="Open Issue"/><img class="cloudcarousel" width="40" height="40" src="/assets/opinion.png" alt="Opinion" title="Opinion"/><img class="cloudcarousel" width="40" height="40" src="/assets/opportunity.png" alt="Opportunity" title="Opportunity"/><img class="cloudcarousel" width="40" height="40" src="/assets/person.png" alt="Person" title="Person"/><img class="cloudcarousel" width="40" height="40" src="/assets/platform.png" alt="Platform" title="Platform"/><img class="cloudcarousel" width="40" height="40" src="/assets/problem.png" alt="Problem" title="Problem"/><img class="cloudcarousel" width="40" height="40" src="/assets/question.png" alt="Question" title="Question"/><img class="cloudcarousel" width="40" height="40" src="/assets/reference.png" alt="Reference" title="Reference"/><img class="cloudcarousel" width="40" height="40" src="/assets/requirement.png" alt="Requirement" title="Requirement"/><img class="cloudcarousel" width="40" height="40" src="/assets/resource.png" alt="Resource" title="Resource"/><img class="cloudcarousel" width="40" height="40" src="/assets/role.png" alt="Role" title="Role"/><img class="cloudcarousel" width="40" height="40" src="/assets/task.png" alt="Task" title="Task"/><img class="cloudcarousel" width="40" height="40" src="/assets/tool.png" alt="Tool" title="Tool"/><img class="cloudcarousel" width="40" height="40" src="/assets/trajectory.png" alt="Trajectory" title="Trajectory"/></div>
|
2013-01-01 22:45:35 +00:00
|
|
|
<%= form.autocomplete_field :name, autocomplete_topic_name_topics_path, :placeholder => "What is the name of your topic?" %>
|
2012-12-25 23:29:20 +00:00
|
|
|
<%= form.hidden_field :metacode, :value => "Action" %>
|
2012-12-16 20:00:43 +00:00
|
|
|
<%= form.hidden_field :x, :value => 0 %>
|
|
|
|
<%= form.hidden_field :y, :value => 0 %>
|
|
|
|
<%= form.hidden_field :map, :value => @map.id %>
|
2013-01-01 22:45:35 +00:00
|
|
|
<%= form.hidden_field :grabTopic, :value => "null" %>
|
2012-12-25 23:29:20 +00:00
|
|
|
<%= form.hidden_field :addSynapse, :value => false %>
|
|
|
|
<!--<input id="left-but" type="button" value="Left" />-->
|
|
|
|
<div id="metacodeImgTitle"></div>
|
|
|
|
<!--<input id="right-but" type="button" value="Right" />-->
|
|
|
|
<div class="clearfloat"></div>
|
2012-10-26 10:04:52 +00:00
|
|
|
<% end %>
|
2013-01-11 23:49:59 +00:00
|
|
|
</div>
|