diff options
| author | 2020-10-04 19:44:01 +0200 | |
|---|---|---|
| committer | 2020-10-04 19:44:01 +0200 | |
| commit | f3c2c21fa209ace469d0eb695bafa4f10a774456 (patch) | |
| tree | 027e977dd01117ccaff7e18600b80d270c67e045 /pydis_site/templates/wiki/create.html | |
| parent | Add "Welcome to Python Discord" video to index (diff) | |
| parent | Remove references to django_nyt (diff) | |
Merge pull request #405 from python-discord/remove_django_wiki
Dewikification: Remove django-wiki from the stack
Diffstat (limited to 'pydis_site/templates/wiki/create.html')
| -rw-r--r-- | pydis_site/templates/wiki/create.html | 42 | 
1 files changed, 0 insertions, 42 deletions
| diff --git a/pydis_site/templates/wiki/create.html b/pydis_site/templates/wiki/create.html deleted file mode 100644 index 3fbba969..00000000 --- a/pydis_site/templates/wiki/create.html +++ /dev/null @@ -1,42 +0,0 @@ -{% extends "wiki/base.html" %} -{% load sekizai_tags %} -{% load static %} -{% load wiki_tags %} - -{% block wiki_pagetitle %}Add new article{% endblock %} - -{% block wiki_contents %} -  {% addtoblock "js" %} -    <script type="text/javascript" src="{% static "admin/js/urlify.js" %}"></script> - -    {% if not create_form.slug.value %} -      <script type="text/javascript" src="{% static "js/wiki/create.js" %}"></script> -    {% endif %} -  {% endaddtoblock %} - -  {% include "wiki/includes/editormedia.html" %} -  <h1 class="page-header">Add new article</h1> - -  <form method="POST" class="form-horizontal"> -    {% wiki_form create_form %} - -    <div class="field is-horizontal is-grouped"> -      <div class="control"> -        <a href="{% url 'wiki:get' path=parent_urlpath.path %}" class="button is-light"> -          <span class="icon"> -            <i class="fa fa-arrow-left"></i> -          </span> -          <span>Go back</span> -        </a> -      </div> -      <div class="control"> -        <button type="submit" name="save_changes" class="button is-primary"> -          <span class="icon"> -            <i class="fa fa-plus"></i> -          </span> -          <span>Create Article</span> -        </button> -      </div> -    </div> -  </form> -{% endblock %} | 
