summaryrefslogtreecommitdiff
path: root/certificate/templates/feedback.html
blob: 2c1f6b7b88aaac91eca1dc65816460ff9902b0a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% extends 'base.html' %}

{% block content %}
<form  action="{% url 'certificate:feedback' %}" method="post" style="width:1000px">

        <div class="input-group" style="padding-left:100px;width:940px;text-align:center;margin:0 auto;">
            <div align=center style="padding-left:250px">    <h1> Feedback </h1>
                <p>Please fill in the feedback form. This will greatly enable us to do better.</p>
            </div>

        {{ detail }}
        {% csrf_token %}
        <div style="padding-left:300px;text-align:left;" >
            <table class="table">
                {{ form }}
            </table>
                {% for question in questions %}
                <label>Q{{ forloop.counter }}. {{ question.question }} </label><br>
                    <textarea cols="80" class="form-control" id="{{ question.id }}" name="{{ question.id }}"></textarea><br>
                    {% endfor %}
                    <br></br>
              <span><button class="btn btn-lg btn-primary" type="submit">Submit</button></span>
              <span><a href="{% url 'certificate:download' %}" >I have already submitted</a></span>
          </div>
    </div>      
     </form>
    <hr>
{% endblock %}