{% 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 %}