diff options
| author | 2020-10-05 19:30:10 +0200 | |
|---|---|---|
| committer | 2020-10-05 19:30:10 +0200 | |
| commit | ab20a2f0ec5df75abb641df651b15ca3c0341c0f (patch) | |
| tree | 69832b8c41cfb29cae312e265e3e3e3ee1f6419b /pydis_site/templates/wiki/create.html | |
| parent | Fix content app linting (diff) | |
| parent | Merge pull request #405 from python-discord/remove_django_wiki (diff) | |
Merge branch 'dewikification' into guides-app
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 %} | 
