diff options
Diffstat (limited to 'alphabetlearning/templates/resources/resource_create.html')
-rw-r--r-- | alphabetlearning/templates/resources/resource_create.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/alphabetlearning/templates/resources/resource_create.html b/alphabetlearning/templates/resources/resource_create.html new file mode 100644 index 0000000..d428e46 --- /dev/null +++ b/alphabetlearning/templates/resources/resource_create.html @@ -0,0 +1,22 @@ +{% 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="row d-flex justify-content-center"> + <div class="col bg-light mt-lg-4 p-4 border border-success border-opacity-25 rounded"> + <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> +{% endblock content %} |