src/widgets/CreateAnnotation.js
branchnew-model
changeset 887 6a04bd37da0a
parent 882 61c384dda19e
child 904 510ebab76fa3
--- a/src/widgets/CreateAnnotation.js	Mon May 07 15:25:52 2012 +0200
+++ b/src/widgets/CreateAnnotation.js	Thu May 10 18:48:09 2012 +0200
@@ -102,10 +102,14 @@
     + ' <span class="Ldt-CreateAnnotation-Times">{{#single_time_mode}}{{l10n.at_time}}{{/single_time_mode}}'
     + '{{^single_time_mode}}{{l10n.from_time}}{{/single_time_mode}} <span class="Ldt-CreateAnnotation-Begin"></span>'
     + ' {{^single_time_mode}}{{l10n.to_time}} <span class="Ldt-CreateAnnotation-End"></span>{{/single_time_mode}}</span></h3>'
-    + ''
+    + '<textarea class="Ldt-CreateAnnotation-Description" placeholder="{{type_description}}"></textarea>'
+    + '<input type="submit" class="Ldt-CreateAnnotation-Submit" />'
+    + '</form>'
+    + '</div></div>';
     
-    + '</form>'
-    + '</div></div>'
+IriSP.Widgets.CreateAnnotation.prototype.draw = function() {
+    this.renderTemplate();
+}
     
 /*    
     + '        <div class="Ldt-CreateAnnotation-Screen Ldt-createAnnotation-startScreen">'