   column_names = []
   row_values = []
   for child in $('#collection_form').children()
-    if $(child).attr('id')
+    if $(child).attr('id') && ($(child).attr('type') != 'hidden')
       column_names.push fusion_tables_escape($(child).attr('id'))
       row_values.push fusion_tables_escape($(child).val())
   fusion_tables_query "INSERT INTO #{collection} (#{column_names.join(', ')}) VALUES (#{row_values.join(', ')})", (data) ->

    when 'SELECT'
      $.ajax "#{FUSION_TABLES_URI}/query?sql=#{query}&access_token=#{get_cookie 'access_token'}",
        type: 'GET'
        dataType: 'json'
        crossDomain: true
        error: (jqXHR, textStatus, errorThrown) ->

        disable_collection_form()
      success: (data) ->
        console.log data

  $('.container').append form
  set_author_name()
  construct_latest_urn (urn) ->
    $('#URN').attr('value',urn)

set_author_name = ->
  if get_cookie 'author_name'
