-
Notifications
You must be signed in to change notification settings - Fork 0
/
editO.html
55 lines (53 loc) · 1.87 KB
/
editO.html
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
53
54
55
{% extends "layout.html" %}
{% block title %}
Edit
{% endblock %}
{% block main %}
<header style="font-size: 30px"><strong><mark>{{ t[0]['title'] }}</mark></strong></header>
<div >
<p><b><mark>
Question:: {{ r[0]['question'] }}
</mark></b></p>
</div>
<div >
<div>
<p><b><mark>
A) {{ r[0]['o1'] }}
</mark></b></p>
<p><b><mark>
B) {{ r[0]['o2'] }}
</mark></b></p>
<p><b><mark>
C) {{ r[0]['o3'] }}
</mark></b></p>
<p><b><mark>
D) {{ r[0]['o4'] }}
</mark></b></p>
</div>
<p><b><mark>
Correct option) {{ r[0]['correct'] }}
</mark></b></p>
</div>
<form action="/editingO" method="post">
<div class="form-group">
<select list="tpes" name="tpe" autofocus class="form-control">
<datalist style="display:none;" id="tpes">
<option value="question">Question</option>
<option value="o1">Option A</option>
<option value="o2">Option B</option>
<option value="o3">Option C</option>
<option value="o4">Option D</option>
<option value="correct">Correct option</option>
</datalist>
</select>
</div>
<div class="form-group">
<input size="130" maxlength="10000000000000" autocomplete="off" class="form-control" name="change" placeholder="Changes to commit" type="text">
</div>
<button class="btn btn-primary" type="submit" name="question_id" value="{{r[0]['Question_id']}}">EDIT</button>
</form>
<hr>
<form action="/editingOO" method="post">
<button class="btn btn-primary" type="submit" name="question_id" value="{{r[0]['Question_id']}}">Done All, commit All and Return</button>
</form>
{% endblock %}