--- a
+++ b/OSSEval/analysis/templates/analysis/analysis_edit.html
@@ -0,0 +1,33 @@
+<!--
+# This Source Code Form of OSSEval is subject to the terms of the GNU AFFERO
+# GENERAL PUBLIC LICENSE, v. 3.0. If a copy of the AGPL was not
+# distributed with this file, You can obtain one at http://www.gnu.org/licenses/agpl.txt
+#
+# OSSeval is powered by the SOS Open Source AGPL edition.
+# The AGPL requires that you do not remove the SOS Open Source attribution and copyright
+# notices from the user interface (see section 5.d below).
+# Commercial licenses are available and do not require any SOS Open Source attributions
+# or visible copyright notices but they are not permitted under this license.
+
+# OSSEval Copyright 2014 Bitergium SLL
+# SOS Open Source Copyright 2012 Roberto Galoppini
+# Author: Davide Galletti
+-->
+
+{% extends "base.html" %}
+{% load staticfiles %}
+{% block content %}
+ <form id="new_analysisForm" action="{% url 'analysis_new' %}" method="post">{% csrf_token %}
+ {{ form.as_p }}
+ <input type="submit" value="Save" />
+ </form>
+{% endblock %}
+{% block left_menu %}
+ {% if analysis.id > 0 %}
+ {% include "analysis/analysis_left_menu.html" %}
+ <script type="text/javascript">$("#edit_anaysis").addClass("active");</script>
+ {% else %}
+ {% include "analysis/analysis_left_menu_short.html" %}
+ <script type="text/javascript">$("#new_anaysis").addClass("active");</script>
+ {% endif %}
+{% endblock %}