     else
       @ui.detailsRow.addClass("hide")
       @ui.detailsToggle.removeClass("open")
+
+
+  startSkeletonTracing : (event) ->
+
+    @submitForm("skeletonTracing", event)
+
+
+  startVolumeTracing : (event) ->
+
+    @submitForm("volumeTracing", event)
+
+
+  submitForm : (type, event) ->
+
+    event.preventDefault()
+    @ui.contentTypeInput.val(type)
+    @ui.form.submit()

          <span class="label label-default"><%= layer.category %> - <%= layer.elementClass %></span>
      <% }) %>
      <td class="nowrap">
        <% if(dataSource.needsImport){ %>
          <div>
            <a href="/api/datasets/<%= name %>/import" class=" import-dataset">

  events :
    "click .import-dataset" : "startImport"
    "click .details-toggle" : "toggleDetails"
    "click #skeletonTraceLink" : "startSkeletonTracing"
    "click #volumeTraceLink" : "startVolumeTracing"


  ui:
