diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-15 13:52:25 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-15 13:52:25 +0100 |
commit | bcf17ab2823d26a517101c344321eb7a472e6b29 (patch) | |
tree | 385ed1dd86144360525c81f4f318d26b786d0823 /pyblackbird_cc/templates/resources/resource_create.html | |
parent | eff85a450e2b866974026ceab125e493938a5c7c (diff) |
Tidying up the create form - using custom css
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_create.html')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_create.html | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_create.html b/pyblackbird_cc/templates/resources/resource_create.html index c10e7b8..d428e46 100644 --- a/pyblackbird_cc/templates/resources/resource_create.html +++ b/pyblackbird_cc/templates/resources/resource_create.html @@ -7,18 +7,16 @@ {# <link rel="stylesheet" href="{% static 'css/forms.css' %}">#} {# {% endblock %}#} {% block content %} - <div class="container"> - <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 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 %} |