2021-01-30 17:40:40 -07:00

16 lines
348 B
HTML

{% extends 'application.html' %}
{% block content %}
<h1>Generate code</h1>
<section>
<form method="post" action="{% url 'code-create' %}">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Generate code"> or
<a href="{{request.META.HTTP_REFERER}}">Cancel</a>
</form>
</section>
{% endblock %}