diff options
Diffstat (limited to 'pyblackbird_cc/templates/resources/resource_metadata_update.html')
-rw-r--r-- | pyblackbird_cc/templates/resources/resource_metadata_update.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pyblackbird_cc/templates/resources/resource_metadata_update.html b/pyblackbird_cc/templates/resources/resource_metadata_update.html new file mode 100644 index 0000000..bb37ea1 --- /dev/null +++ b/pyblackbird_cc/templates/resources/resource_metadata_update.html @@ -0,0 +1,26 @@ +{% extends "base.html" %} + +{% load static %} +{% load crispy_forms_tags %} + +{% block title %} + Joanna Lemon Resources - Update Resource +{% endblock title %} +{# {% 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>Update this resource</h2> + <p>{% lorem %}</p> + <form action="{% url 'resources:resource_update_metadata' resource.id %}" + method="post"> + {% csrf_token %} + {{ form|crispy }} + {# now for the submit button #} + <button type="submit" class="btn btn-primary">Submit</button> + </form> + </div> + </div> +{% endblock content %} |