source: Dev/branches/rest-dojo-ui/client/rft/ui/templates/QuestionWidget.html @ 303

Last change on this file since 303 was 303, checked in by hendrikvanantwerpen, 13 years ago

[Server] Refactored model classes with some meta-programming. Specific classes only define their fields and inherit from class RdfObject?. Changes to handle the new model objects correctly.
[Client] Added rft/store module for uniform resource access. Removed dependencies on 'uid' field name. Added support for references without loading full object nor exposing uri.
[Client] Added reset() to QuestionWidget?.
[RDFAPI] Fixed PHP warning.

File size: 1.3 KB
Line 
1<div>
2    <form data-dojo-type="dijit.form.Form" data-dojo-attach-point="ourForm">
3        <fieldset>
4            <label for="code" class="loginLabel">Code</label>
5            <input data-dojo-type="dijit.form.TextBox" name="code" type="text" class="loginInput" />
6            <label for="question" class="loginLabel">Title</label>
7            <input data-dojo-type="dijit.form.TextBox" name="title" type="text" class="loginInput" />
8            <label for="question" class="loginLabel">Description</label>
9            <input data-dojo-type="dijit.form.Textarea" name="description" type="text" class="loginInput"/>
10            <label for="category" class="loginLabel">Category</label>
11            <input data-dojo-type="dijit.form.TextBox" name="category" type="text" class="loginInput" />
12        </fieldset>
13        <fieldset>
14            <select data-dojo-type="dijit.form.Select" data-dojo-attach-point="typeSelector" data-dojo-attach-event="onChange:_onTypeChange" name="type">
15                <option value="string" selected>String</option>
16                <option value="text">Text</option>
17                <option value="singleChoice">Single choice</option>
18                <option value="multipleChoice">Multiple choice</option>
19            </select>
20            <div data-dojo-attach-point="typeDetails"></div>
21        </fieldset>
22    </form>
23</div>
Note: See TracBrowser for help on using the repository browser.