{% extends "projects/base_project_editing.html" %}

{% block extra_links %}
  <link rel="stylesheet" type="text/css" href="/media/lib/markitup/skins/simple/style.css" />
  <link rel="stylesheet" type="text/css" href="/media/lib/markitup/sets/sphinx/editor.css" />
{% endblock %}

{% block extra_scripts %}
  <script type="text/javascript" src="/media/lib/markitup/jquery.markitup.pack.js"></script>
  <script type="text/javascript" src="/media/lib/markitup/sets/sphinx/editor.js"></script>
  <script type="text/javascript">
    $(document).ready(function() {
      $("#id_description").markItUp(SphinxDocsSettings); // .markItUp(mySettings);
    });
  </script>
{% endblock %}

{% block title %}Edit project{% endblock %}

{% block editing-option-edit-proj %}class="active"{% endblock %}

{% block content-header %}<h1>Edit project</h1>{% endblock %}

{% block content %}
  <form method="post" action=".">{% csrf_token %}
    {{ form.as_p }}
    <p>
      <input style="display: inline;" type="submit" value="Submit">
      or <a href="{% url projects_delete project.slug %}">delete</a>
    </p>
  </form>
{% endblock %}

{% extends "projects/base_project_editing.html" %}

{% block extra_links %}
  <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}lib/markitup/skins/simple/style.css" />
  <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}lib/markitup/sets/sphinx/editor.css" />
{% endblock %}

{% block extra_scripts %}
  <script type="text/javascript" src="{{ MEDIA_URL }}lib/markitup/jquery.markitup.pack.js"></script>
  <script type="text/javascript" src="{{ MEDIA_URL }}lib/markitup/sets/sphinx/editor.js"></script>
  <script type="text/javascript">
    $(document).ready(function() {
      $("#id_description").markItUp(SphinxDocsSettings); // .markItUp(mySettings);
    });
  </script>
{% endblock %}

{% block title %}Edit project{% endblock %}

{% block editing-option-edit-proj %}class="active"{% endblock %}

{% block content-header %}<h1>Edit project</h1>{% endblock %}

{% block content %}
  <form method="post" action=".">{% csrf_token %}
    {{ form.as_p }}
    <p>
      <input style="display: inline;" type="submit" value="Submit">
      or <a href="{% url projects_delete project.slug %}">delete</a>
    </p>
  </form>
{% endblock %}

Update media url on project edit page.
Update media url on project edit page.
