This commit is contained in:
Ross
2021-09-21 18:31:33 +01:00
parent 324a62d7eb
commit 0e3ca7df71
@@ -1,13 +1,13 @@
{% extends "base.html" %} {% extends "base.html" %}
{{question}}
{{question.pk}}
{% block content %} {% block content %}
<h2>Add Feedback</h2> <h2>Add Feedback</h2>
<form action="" method="post"> <form action="" method="post">
{% csrf_token %} {% csrf_token %}
{{ form.non_field_errors }} {{ form.non_field_errors }}
{{question}}
{{question.pk}}
{% if user.is_authenticated %} {% if user.is_authenticated %}
User: {{user}} User: {{user}}
@@ -19,6 +19,8 @@ User: {{user}}
</div> </div>
{% endif %} {% endif %}
{{view.question}}
{{view.question.pk}}
<div class="fieldWrapper"> <div class="fieldWrapper">
{{ form.content_type.errors }} {{ form.content_type.errors }}