1 {% extends 'layout.tmpl' %}
4 <h2>List of Questionaires</h2>
10 <th>Num. Questions</th>
14 {% for q in questionaires %}
17 <td>{{q.description}}</td>
18 <td>{{len(q.questions) or 0}}</td>
19 <td><a href="{{homepath}}/edit_questions/{{q.id}}">edit</a></td>
24 <h2>New Questionaire</h2>
26 <form method="POST" action="{{homepath}}/questionaires">
27 <p><label for="code">Code</label>
28 <input name="code" type="text" size="3" value="{{code}}" /></p>
30 <p><label for="description">Description</label>
31 <input name="description" type="text" size="50" value="{{description}}" /></p>
33 <input type="submit" value="Save" />