aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/templates/resources/resource_create.html
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_create.html')
-rw-r--r--pyblackbird_cc/templates/resources/resource_create.html21
1 files changed, 12 insertions, 9 deletions
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 %}
<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 class="row d-flex justify-content-center">
+ <div class="col-md-10 bg-light mt-lg-4">
+ <h2>Upload a new resource</h2>
+ <p>{% lorem %}</p>
+ <form action="{% url 'resources:create_resource' %}"
+ method="post"
+ enctype="multipart/form-data">
+ {% csrf_token %}
+ {% crispy form form.helper %}
+ </form>
+ </div>
+ </div>
</div>
{% endblock content %}