forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeedback.html
More file actions
65 lines (54 loc) · 1.94 KB
/
Copy pathfeedback.html
File metadata and controls
65 lines (54 loc) · 1.94 KB
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
56
57
58
59
60
61
62
63
64
65
{% extends base_template %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load bootstrap3 %}
{% load nomcom_tags %}
{% block subtitle %} - Feedback{% endblock %}
{% block nomcom_content %}
{% origin %}
<p class="alert alert-info">
First select a nominee from the list of nominees to provide input about that nominee.
This will fill in the non-editable fields in the form.
</p>
{% if message %}
<p class="alert alert-{{ message.0 }}">{{ message.1 }}</p>
{% endif %}
{% bootstrap_messages %}
{% if nomcom|has_publickey %}
<div class="row">
<div class="col-sm-4 col-sm-push-8">
<h3>Nominees</h3>
{% for p in positions %}
{% if p.nomineeposition_set.accepted.not_duplicated %}
<h4>{{ p.name }}</h4>
<div class="btn-group-vertical form-group">
{% for np in p.nomineeposition_set.accepted.not_duplicated %}
<a class="btn btn-default btn-xs" href="?nominee={{np.nominee.id}}&position={{ np.position.id}}">
{{ np.nominee }}
{% add_num_nominations user np.position np.nominee %}
</a>
{% endfor %}
</div>
{% endif %}
{% endfor %}
<p>
An number after a name indicates
that you have given comments on this nominee
earlier. If you position the mouse pointer over
it, you should see how many comments
exist from you for this nominee.
</p>
</div>
<div class="col-sm-8 col-sm-pull-4">
<h3>Provide feedback</h3>
<form id="feedbackform" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<input class="btn btn-primary" type="submit" value="Save" name="save" {% if submit_disabled %}disabled="disabled"{% endif %}>
{% endbuttons %}
</form>
</div>
</div>
{% endif %}
{% endblock %}