Change design of assignment poll view (see #292)

This commit is contained in:
Norman Jäckel 2012-07-15 23:17:10 +02:00
parent bee6fa7147
commit bd9c609dc0

View File

@ -2,17 +2,15 @@
{% load i18n %} {% load i18n %}
{% block title %}{{ block.super }} {% trans "Election" %} "{{ assignment }}"{% endblock %} {% block title %}{{ block.super }} {% trans "Election" %} "{{ assignment }}" {{ ballotnumber }}. {%trans "ballot" %}{% endblock %}
{% block content %} {% block content %}
<h1>{%trans "Election" %}: {{ assignment }}</h1> <h1>{{ assignment }} {{ ballotnumber }}. {%trans "ballot" %}</h1>
<p>{{ ballotnumber }}. {%trans "ballot" %}: {{assignment.poll.get_options}}
{% blocktrans count counter=options|length %}candidate{% plural %}candidates{% endblocktrans %}
</p>
{% if assignment.polldescription %} {% if assignment.polldescription %}
<p><b>{% trans "Short description" %}:</b> {{ assignment.polldescription }}</p> <p><b>{% trans "Short description (for ballot paper)" %}:</b> {{ assignment.polldescription }}</p>
{% endif %} {% endif %}
<i class="helptext">{% trans "Special values" %}: -1 = {% trans 'majority' %}; -2 = {% trans 'undocumented' %}</i> <i class="helptext">{% trans "Special values" %}: -1 = {% trans 'majority' %}; -2 = {% trans 'undocumented' %}</i>
<form action="" method="post" class="small-form">{% csrf_token %} <form action="" method="post" class="small-form">{% csrf_token %}
<table style="width:auto"> <table style="width:auto">
@ -76,6 +74,6 @@
</button> </button>
</a> </a>
</p> </p>
</form> </form>
{% endblock %} {% endblock %}