From ced16ee9dc3bf1790c0345e874dc7861e27c99ca Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 14 May 2024 13:59:52 +0100 Subject: Adds crispy forms helper --- .../templates/resources/resource_create.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'pyblackbird_cc/templates/resources/resource_create.html') diff --git a/pyblackbird_cc/templates/resources/resource_create.html b/pyblackbird_cc/templates/resources/resource_create.html index 03a192a..c10e7b8 100644 --- a/pyblackbird_cc/templates/resources/resource_create.html +++ b/pyblackbird_cc/templates/resources/resource_create.html @@ -8,14 +8,17 @@ {# {% endblock %}#} {% block content %}
-

Upload a new resource

-

{% lorem %}

-
- {% csrf_token %} - {{ form|crispy }} - -
+
+
+

Upload a new resource

+

{% lorem %}

+
+ {% csrf_token %} + {% crispy form form.helper %} +
+
+
{% endblock content %} -- cgit v1.2.3