aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources/resource_create.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pyblackbird_cc/templates/resources/resource_create.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_create.html b/pyblackbird_cc/templates/resources/resource_create.html
new file mode 100644
index 0000000..03a192a
--- /dev/null
+++ b/pyblackbird_cc/templates/resources/resource_create.html
@@ -0,0 +1,21 @@
+{% extends "base.html" %}
+
+{% load static %}
+{% load crispy_forms_tags %}
+
+{# {% block extra_css %}#}
+{# <link rel="stylesheet" href="{% static 'css/forms.css' %}">#}
+{# {% endblock %}#}
+{% block content %}
+ <div class="container">
+ <h2>Upload a new resource</h2>
+ <p>{% lorem %}</p>
+ <form action="{% url 'resources:create_resource' %}"
+ method="post"
+ enctype="multipart/form-data">
+ {% csrf_token %}
+ {{ form|crispy }}
+ <input type="submit" class="btn btn-primary" value="Upload" />
+ </form>
+ </div>
+{% endblock content %}