1 {% extends 'layout.tmpl' %}
4 <h2>List of Questions for {{questionaire.description}}</h2>
10 <th>Long Description</th>
11 <th>Short Description</th>
15 {% for q in questionaire.questions %}
18 <td>{{q.longdesc}}</td>
19 <td>{{q.shortdesc}}</td>
20 <td>{{q.datatype}}</td>
28 action="{{homepath}}/edit_questions/{{questionaire.id}}">
30 <p><label for="shortdesc">Short Description</label>
31 <input name="shortdesc" type="text" size="15" value="{{shortdesc}}" /></p>
33 <p><label for="longdesc">Long Description</label>
34 <input name="longdesc" type="text" size="50" value="{{longdesc}}" /></p>
36 <p><label for="datatype">Data Type</lable>
37 <select name="datatype">
38 <option value="number" />Number
39 <option value="word" />Word
40 <option value="bool" />Yes/No
43 <input type="submit" value="Save" />