Last change
on this file since 288 was
288,
checked in by hendrikvanantwerpen, 13 years ago
|
[Client] MultipleChoiceWidget? for editing multiple choice questions
[Client] Move templates to separate directories.
[Client] Created QuestionWidget? to edit complete questions.
[Client] Fixed startup race condition where parsing was started before all classes were loaded.
|
File size:
1.4 KB
|
Line | |
---|
1 | <div> |
---|
2 | <form data-dojo-type="dijit.form.Form" data-dojo-attach-point="ourForm"> |
---|
3 | <fieldset> |
---|
4 | <input data-dojo-type="dijit.form.TextBox" name="uid" type="text" class="dijitHidden" /> |
---|
5 | <label for="code" class="loginLabel">Code</label> |
---|
6 | <input data-dojo-type="dijit.form.TextBox" name="code" type="text" class="loginInput" /> |
---|
7 | <label for="question" class="loginLabel">Title</label> |
---|
8 | <input data-dojo-type="dijit.form.TextBox" name="title" type="text" class="loginInput" /> |
---|
9 | <label for="question" class="loginLabel">Description</label> |
---|
10 | <input data-dojo-type="dijit.form.Textarea" name="description" type="text" class="loginInput"/> |
---|
11 | <label for="category" class="loginLabel">Category</label> |
---|
12 | <input data-dojo-type="dijit.form.TextBox" name="category" type="text" class="loginInput" /> |
---|
13 | </fieldset> |
---|
14 | <fieldset> |
---|
15 | <select data-dojo-type="dijit.form.Select" data-dojo-attach-point="typeSelector" data-dojo-attach-event="onChange:_onTypeChange" name="type"> |
---|
16 | <option value="string" selected>String</option> |
---|
17 | <option value="text">Text</option> |
---|
18 | <option value="singleChoice">Single choice</option> |
---|
19 | <option value="multipleChoice">Multiple choice</option> |
---|
20 | </select> |
---|
21 | <div data-dojo-attach-point="typeDetails"></div> |
---|
22 | </fieldset> |
---|
23 | </form> |
---|
24 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.