         $('<input>').attr('style','width:100%').prop('disabled',true)
       else
         $('<input>').attr('style','width:100%')
-    when 'datetime'
-      $('<input>').attr('style','width:50%').attr('type','datetime').prop('disabled',true).attr('style','display:block')
+    when 'timestamp'
+      $('<input>').attr('style','width:50%').attr('type','timestamp').prop('disabled',true).attr('style','display:block')
     else
       console.log 'Error: unknown type'
       $('<input>')

  return select

update_timestamp_inputs = ->
  $('#Date').attr('value',(new Date).toISOString())

build_input_for_property = (property) ->
  input = switch $(property).attr('type')

      pagedown_container.append $('<label>').append('Preview:')
      pagedown_container.append pagedown_preview
      pagedown_container
    when 'string', 'datetime'
      if $(property).find('valueList').length > 0
        build_input_for_valuelist $(property).find('valueList')[0]
      else
