source: Dev/branches/rest-dojo-ui/client/rft/pages/survey.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: 909 bytes
Line 
1<div data-dojo-type="rft.pages.survey">
2    <h1 data-rft-attach-point="header">(default)</h1>
3    <div>Created by <span data-rft-attach-point="creator"></span><div>
4    <form data-dojo-type="dijit.form.Form" data-rft-attach-point="form" data-rft-attach-event="onSubmit:onSave">
5        <div style="display: block; clear: both;">
6            <button type="submit" data-dojo-type="dijit.form.Button">Save</button>
7            <button type="button" data-dojo-type="dijit.form.Button" data-rft-attach-event="onClick:onReset">Reset</button>
8        </div>
9        <label for="title" class="loginLabel">Title</label>
10        <input type="text" name="title" data-dojo-type="dijit.form.TextBox" class="loginInput"/>
11        <label for="description" class="loginLabel">Description</label>
12        <textarea name="description" data-dojo-type="dijit.form.SimpleTextarea" class="loginInput"></textarea>
13    </form>
14</div>
Note: See TracBrowser for help on using the repository browser.