diff options
Diffstat (limited to 'alphabetlearning/templates')
-rw-r--r-- | alphabetlearning/templates/base.html | 1 | ||||
-rw-r--r-- | alphabetlearning/templates/resources/resource_create.html | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/alphabetlearning/templates/base.html b/alphabetlearning/templates/base.html index c338e06..2979f33 100644 --- a/alphabetlearning/templates/base.html +++ b/alphabetlearning/templates/base.html @@ -23,6 +23,7 @@ {% endblock extra_css %} {% block css %} <link rel="stylesheet" href="{% static 'css/project.css' %}"/> + <link rel="stylesheet" href="{% static 'css/forms.css' %}"/> {% endblock css %} {% block javascript %} <script defer src="{% static 'js/project.js' %}"></script> diff --git a/alphabetlearning/templates/resources/resource_create.html b/alphabetlearning/templates/resources/resource_create.html index 59f9ec3..1b320a9 100644 --- a/alphabetlearning/templates/resources/resource_create.html +++ b/alphabetlearning/templates/resources/resource_create.html @@ -8,14 +8,14 @@ {# {% endblock %}#} {% block content %} <div> - <div> - <h2>Upload a new resource</h2> - <p>{% lorem %}</p> + <div class="form-container"> + <h1>Upload a new resource</h1> + <form action="{% url 'resources:create_resource' %}" method="post" enctype="multipart/form-data"> {% csrf_token %} - {% crispy form form.helper %} + {{ form }} </form> </div> </div> |