From a27d88923c6451d450d9155adb0ccd9fd0dcaa5f Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Fri, 12 Apr 2019 11:46:39 +0100 Subject: Finish initial article creation form --- pydis_site/templates/wiki/create_root.html | 31 ++++++++--------------- pydis_site/templates/wiki/includes/formfield.html | 4 +-- 2 files changed, 12 insertions(+), 23 deletions(-) diff --git a/pydis_site/templates/wiki/create_root.html b/pydis_site/templates/wiki/create_root.html index 0d7662ec..08ee7f82 100644 --- a/pydis_site/templates/wiki/create_root.html +++ b/pydis_site/templates/wiki/create_root.html @@ -19,27 +19,16 @@ {% block wiki_contents %} -
-
-
-
-

Create first article

-
-
-

- Please create the root article. This article will be available at the root of your wiki, - so consider creating a landing page here. -

-

- Please note that, to begin with, this article may only be modified by wiki administrators. - Once it's been created, you may edit the permissions and set up plugins, metadata, and so on. -

-
-
-
-
+

Create First Article

-

{% trans "Root article" %}

+

+ Please create the root article. This article will be available at the root of your wiki, + so consider creating a landing page here. +

+

+ Please note that, to begin with, this article may only be modified by wiki administrators. + Once it's been created, you may edit the permissions and set up plugins, metadata, and so on. +

{% wiki_form form %} @@ -50,7 +39,7 @@
- +
diff --git a/pydis_site/templates/wiki/includes/formfield.html b/pydis_site/templates/wiki/includes/formfield.html index 0176f9d4..9f68fb26 100644 --- a/pydis_site/templates/wiki/includes/formfield.html +++ b/pydis_site/templates/wiki/includes/formfield.html @@ -7,7 +7,7 @@
{% if field.label %} {% endif %} @@ -23,7 +23,6 @@
{% render_field field %}
-
{% if field.errors %}

@@ -32,6 +31,7 @@ {% endfor %}

{% endif %} + {% endif %} -- cgit v1.2.3