.
This commit is contained in:
@@ -2,40 +2,42 @@
|
|||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>Add Feedback</h2>
|
<h2>Add Feedback</h2>
|
||||||
Adding feedback for {{question_type}} question - {{question}}
|
<div class="alert alert-info" role="alert">
|
||||||
<form action="" method="post">
|
Adding feedback for {{question_type}} question [{{question.id}}] - {{question}}
|
||||||
{% csrf_token %}
|
</div>
|
||||||
{{ form.non_field_errors }}
|
<form action="" method="post">
|
||||||
|
{% csrf_token %}
|
||||||
|
{{ form.non_field_errors }}
|
||||||
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
User: {{user}}
|
User: {{user}}
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="fieldWrapper">
|
<div class="fieldWrapper">
|
||||||
{{ form.author.errors }}
|
{{ form.author.errors }}
|
||||||
<label for="{{ form.author.id_for_label }}">Author</label>
|
<label for="{{ form.author.id_for_label }}">Author</label>
|
||||||
{{ form.author }}
|
{{ form.author }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="fieldWrapper">
|
<div class="fieldWrapper">
|
||||||
{{ form.content_type.errors }}
|
{{ form.content_type.errors }}
|
||||||
{{ form.content_type }}
|
{{ form.content_type }}
|
||||||
</div>
|
</div>
|
||||||
<div class="fieldWrapper">
|
<div class="fieldWrapper">
|
||||||
{{ form.object_id.errors }}
|
{{ form.object_id.errors }}
|
||||||
{{ form.object_id }}
|
{{ form.object_id }}
|
||||||
</div>
|
</div>
|
||||||
<div class="fieldWrapper">
|
<div class="fieldWrapper">
|
||||||
{{ form.note_type.errors }}
|
{{ form.note_type.errors }}
|
||||||
<label for="{{ form.note_type.id_for_label }}">Note type</label>
|
<label for="{{ form.note_type.id_for_label }}">Note type</label>
|
||||||
{{ form.note_type }}
|
{{ form.note_type }}
|
||||||
</div>
|
</div>
|
||||||
<div class="fieldWrapper">
|
<div class="fieldWrapper">
|
||||||
{{ form.note.errors }}
|
{{ form.note.errors }}
|
||||||
<label for="{{ form.note.id_for_label }}">Additional information</label><br/>
|
<label for="{{ form.note.id_for_label }}">Additional information</label><br/>
|
||||||
{{ form.note }}
|
{{ form.note }}
|
||||||
</div>
|
</div>
|
||||||
<input type="submit" value="Submit">
|
<input type="submit" value="Submit">
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user