source: Dev/trunk/client/qed/model/widgets/templates/QuestionWidget.html @ 434

Last change on this file since 434 was 431, checked in by hendrikvanantwerpen, 12 years ago

Added basic HTML linting.

Added htmllint as grunt task.
Moved jshint and htrmllint options to separate rc files.

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="scaleSelector" data-dojo-attach-event="onChange:_onTypeChange" name="scale">
15                <option value="string" selected="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="scaleDetails"></div>
21        </fieldset>
22    </form>
23</div>
Note: See TracBrowser for help on using the repository browser.