+# ---- Template.neuron_type_from_id_block ---------------
+
 Template.neuron_type_from_id_block.neuron_type_from_id = ->
   if @_id
     # already a doc

Template.neuron_type_show.driver_lines_referencing_me = ->
  DriverLines.find neuron_types: @_id

Template.neuron_types.events "click .insert": (e) ->
  e.preventDefault()
  coll = "NeuronTypes"

    # If we have "valueOf" function, "this" is boxed.
    my_id = @valueOf() # unbox it
  NeuronTypes.findOne my_id

# ---- Template.neuron_type_insert ---------------

Template.neuron_type_insert.driver_lines = ->
  DriverLines.find()
