diff options
author | 2019-04-20 14:32:53 +0100 | |
---|---|---|
committer | 2019-04-20 14:32:53 +0100 | |
commit | bbeb451ac6750c526166db12080b1b6bc040c860 (patch) | |
tree | c74468da0b3059045e1e294bf17b062943b79079 /pydis_site/templates/wiki/edit.html | |
parent | Update Pipfile.lock and move home app tests (diff) |
Address reviews
Diffstat (limited to 'pydis_site/templates/wiki/edit.html')
-rw-r--r-- | pydis_site/templates/wiki/edit.html | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/pydis_site/templates/wiki/edit.html b/pydis_site/templates/wiki/edit.html index 622e98eb..c378362a 100644 --- a/pydis_site/templates/wiki/edit.html +++ b/pydis_site/templates/wiki/edit.html @@ -1,22 +1,13 @@ {% extends "wiki/article.html" %} -{% load wiki_tags i18n sekizai_tags static %} - +{% load static %} +{% load wiki_tags %} {% block wiki_pagetitle %} Edit: {{ article.current_revision.title }} {% endblock %} {% block wiki_contents_tab %} - - {% if not user.is_authenticated %} - <p class="alert alert-warning"> - {% trans "<strong>Warning:</strong> You are not logged in. Your IP address will be logged." %} - <a href="{% url 'wiki:login' %}?next={% url 'wiki:edit' article_id=article.id path=urlpath.path %}">{% trans "Click here to log in" %} »</a> - </p> - {% endif %} - <div class="columns"> - <div class="column is-two-thirds"> <form method="POST" class="form-horizontal" id="article_edit_form"> {% with edit_form as form %} @@ -60,18 +51,14 @@ <br /> <br /> - </form> </div> <div class="column is-one-third" id="wiki-edit-sidebar"> {% include "wiki/includes/editor_sidebar.html" %} </div> - </div> - <div style="clear: both"></div> - <div class="modal" id="previewModal"> <div class="modal-background"></div> <div class="modal-card" style="height: 80%; width: 80%;"> |