aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/create_root.html
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-11 20:34:18 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-11 20:34:18 +0100
commited8311057579de883fc010f9dd5e1bb331970418 (patch)
treee5b6d1ad7b2f9aa1758c8946b8b08356a2075453 /pydis_site/templates/wiki/create_root.html
parentSome work towards initial pages and forms (diff)
Lots of extra form input handling.
But now the root article creator form renders nicely!
Diffstat (limited to 'pydis_site/templates/wiki/create_root.html')
-rw-r--r--pydis_site/templates/wiki/create_root.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/pydis_site/templates/wiki/create_root.html b/pydis_site/templates/wiki/create_root.html
index 7b677d47..0d7662ec 100644
--- a/pydis_site/templates/wiki/create_root.html
+++ b/pydis_site/templates/wiki/create_root.html
@@ -3,6 +3,21 @@
{% block wiki_pagetitle %}{% trans "Create root article" %}{% endblock %}
+{% block head %}
+ {{ block.super }}
+
+ {% for js in editor.Media.js %}
+ <script type="text/javascript" src="{% static js %}"></script>
+ {% endfor %}
+
+ {% for media, srcs in editor.Media.css.items %}
+ {% for src in srcs %}
+ <link rel="stylesheet" media="{{ media }}" href="{% static src %}" />
+ {% endfor %}
+ {% endfor %}
+{% endblock %}
+
+
{% block wiki_contents %}
<div class="columns">
<div class="column is-two-thirds is-offset-2">