 Template.neuron_type_show.driver_lines_referencing_me = ->
   DriverLines.find neuron_types: @_id
 
+# ---- Template.neuron_types ---------------
+
 Template.neuron_types.events "click .insert": (e) ->
   e.preventDefault()
   coll = "NeuronTypes"

  NeuronTypes.insert doc, neuron_type_insert_callback
  result

Template.edit_neuron_types.neuron_types = ->
  result = []
  collection = window.get_collection_from_name(@collection_name)

    # 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()
