diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-22 17:40:17 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-22 17:40:17 +0100 |
commit | 8d23046d174e4d8dce0f13cc88b099d3c12b07ec (patch) | |
tree | e51c3cf677b40ea933fe6d251bb28b3b1af71365 /alphabetlearning/templates/resources | |
parent | a505c844c0537c7aeb59e287687561d2d0a9d6e4 (diff) |
wip: started working on the add new resource form
Diffstat (limited to 'alphabetlearning/templates/resources')
-rw-r--r-- | alphabetlearning/templates/resources/resource_create.html | 8 |
1 files changed, 4 insertions, 4 deletions
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> |