Show the ballot question on the position entry form.

- Legacy-Id: 4550
This commit is contained in:
Robert Sparks 2012-06-28 21:56:51 +00:00
parent 8b5d95e71b
commit 1a5a7b998a
2 changed files with 9 additions and 1 deletions

View file

@ -222,6 +222,7 @@ def edit_positionREDESIGN(request, name, ballot_id):
return_to_url=return_to_url,
old_pos=old_pos,
ballot_deferred=ballot_deferred,
ballot = ballot,
show_discuss_text=old_pos and old_pos.pos_id=="discuss",
blocking_positions=simplejson.dumps(blocking_positions),
),

View file

@ -30,10 +30,17 @@ form.position-form #id_comment {
form.position-form .comment-text {
margin-top: 20px;
}
div.question {
font-size: 173%;
padding-left: 5px;
padding-bottom: 10px;
}
{% endblock %}
{% block content %}
<h1>Change position for {{ ad.plain_name }} {{ doc }}</h1>
<h1>Change position for {{ ad.plain_name }} on {{ doc }}</h1>
<div class="question">{{ ballot.ballot_type.question }}</div>
{% if ballot_deferred %}
<div class="ballot-deferred">Ballot deferred by {{ ballot_deferred.by }} on {{ ballot_deferred.time|date:"Y-m-d" }}.</div>