document_form.html 267 B

123456789
  1. {% extends 'textdocs/base.html' %}
  2. {% block content %}
  3. <h2>Create a New Document</h2>
  4. <form method="post">
  5. {% csrf_token %}
  6. {{ form.as_p }}
  7. <button type="submit" class="btn btn-success">Save Document</button>
  8. </form>
  9. {% endblock %}