forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublic_nominate.html
More file actions
48 lines (42 loc) · 1.27 KB
/
public_nominate.html
File metadata and controls
48 lines (42 loc) · 1.27 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
{% extends "nomcom/nomcom_public_base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load static %}
{% load bootstrap3 %}
{% load nomcom_tags %}
{% block pagehead %}
{{ form.media.css }}
{% endblock %}
{% block subtitle %} - Nominate{% endblock %}
{% block nomcom_content %}
{% origin %}
<div class="row">
<div class="col-sm-9">
{% if form %}
<form id="nominate-form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button class="btn btn-primary" type="submit" name="save" value="Save">Save</button>
{% endbuttons %}
</form>
{% endif %}
</div>
<div class="col-sm-3">
{% if nomcom.show_accepted_nominees %}
<h3>Nominees<br><small>who have accepted nomination</small></h3>
{% for p in positions %}
{% if p.nomineeposition_set.accepted.not_duplicated %}
<h4>{{ p.name }}</h4>
{% for np in p.nomineeposition_set.accepted.not_duplicated %}
<div class="col-sm-offset-1">{{ np.nominee.name }}</div>
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
</div>
</div>
{% endblock %}
{% block js %}
{{ form.media.js }}
{% endblock %}