2012-08-11 01:57:38 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
xmlns:py="http://genshi.edgewall.org/"
|
|
|
|
lang="de">
|
|
|
|
<xi:include href="layout.html" />
|
|
|
|
|
|
|
|
<head/>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h1>${question.text}</h1>
|
|
|
|
|
|
|
|
<form action="${base_url}" method="POST">
|
|
|
|
<input type="hidden" name="session_id" value="${session.name}" />
|
|
|
|
<input type="hidden" name="question_id" value="${question.id}" />
|
|
|
|
<table class="options">
|
2012-08-16 22:54:34 +02:00
|
|
|
<colgroup><col py:for="option in options" width="${95/len(options)}%" /></colgroup>
|
2012-08-11 01:57:38 +02:00
|
|
|
<trRenderOptionTitle />
|
|
|
|
<tr>
|
2012-08-16 18:24:04 +02:00
|
|
|
<td py:for="column, option in enumerate(options)" class="answer column${column}">
|
2012-08-11 01:57:38 +02:00
|
|
|
<label for="option_${option.id}_text">Bewertung:</label><br/>
|
|
|
|
<textarea rows="5" style="width:90%" id="option_${option.id}_text" name="option_${option.id}_text"></textarea>
|
|
|
|
<br/>
|
2012-08-16 18:24:04 +02:00
|
|
|
<ul class="quality">
|
2012-08-11 01:57:38 +02:00
|
|
|
<li py:for="(key, text) in question.quality_levels">
|
2012-08-16 18:24:04 +02:00
|
|
|
<input type="radio" name="option_${option.id}_quality" value="${key}">
|
|
|
|
<span class="key">${unicode(key)}</span>
|
|
|
|
<span class="text">${unicode(text)}</span>
|
|
|
|
</input><br/>
|
2012-08-11 01:57:38 +02:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="${len(options) / 2}" style="text-align:left">
|
2012-08-16 18:24:04 +02:00
|
|
|
<input py:if="previous_question" type="submit" name="go_backward" value="zurück" /></td>
|
2012-08-11 01:57:38 +02:00
|
|
|
<td colspan="${len(options) - len(options) / 2}" style="text-align:right">
|
2012-08-16 18:24:04 +02:00
|
|
|
<input py:if="next_question" type="submit" name="go_forward" value="weiter" />
|
|
|
|
<input py:if="not next_question" type="submit" name="go_forward" value="abschließen" />
|
|
|
|
</td>
|
2012-08-11 01:57:38 +02:00
|
|
|
</tr>
|
|
|
|
<tr><td colspan="${len(options)}"><hr/></td></tr>
|
2012-08-16 18:24:04 +02:00
|
|
|
<tr><th colspan="${len(options)}">Kurzbeschreibung der Planungsalternativen</th></tr>
|
2012-08-11 01:57:38 +02:00
|
|
|
<trRenderOptionImage />
|
|
|
|
<trRenderOptionText />
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|