summaryrefslogtreecommitdiff
path: root/static/website/templates/bug-form.html
blob: 84ed6a786c221861b61b4d44f5221a0b98b52ee7 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 <!-- bug form-->

        <div class="modal-dialog">
            <div class="modal-content">

                <!-- Modal Header -->
                <div class="modal-header">
                    <h5 class="modal-title text-primary">Report bug/ feedback</h5>
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                </div>

                <!-- Modal body -->
                <div class="modal-body">
                <form id="bug-form" action="" method="POST" accept-charset="utf-8">  {% csrf_token %}
                    {{ form.example }}
                    <div id="non-field-errors">
                    </div>
                    <div id="id_issue_wrapper" class="wrapper">
                        <label>Type of issue <span class="req">*</span>:</label>
                        {{ form.issue }}
                    </div>

                    <div id="id_description_wrapper" class="wrapper">
                        <label>Description<span class="req">*</span>:</label>
                        {{ form.description }}
                    </div>

                    <div id="id_email_wrapper" class="wrapper">
                        <span id="email-wrapper">
                            {{ form.email.errors }}
                            <label>Enter Your Email<span class="req">*</span>:</label>
                            {{ form.email }}
                        </span>
                    </div>
                <p id="question" class="text-danger""></p><input id="ans" type="text">
                <div id="message" class="text-danger">Please verify.</div>
                <div id="success" class="text-success">Validation complete &#x263A;</div>
                <div id="fail" class="text-danger">Validation failed &#x2639;</div>
                <button type="reset" class="btn btn-primary" value="reset">Reset captcha</button>
                <input type="submit" id="bug-form-submit" class="btn btn-primary float-right">
                    </form>
                </div>

                <!-- Modal footer -->
                <div class="modal-footer">
                    <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
                </div>

            </div>
        </div>
 
    <!-- --------------------bug form modal ends------------------ -->