 
     @characteristicList.innerHTML = out.join('')
 
+  _updateSexLabel: ->
+    @sexLabel.innerHTML = if @dragon.sex is BioLogica.MALE then "male" else "female"
+
   _injectHtml: ->
     @phenoView = document.createElement 'div'
     @phenoView.classList.add 'dragon-view'

  setDragon: (@dragon)->
    @_updateClasses()
    @_updateCharacteristics()

  setSexVisible: (@showSex) ->
    @_updateVisibility()

    @sexLabel = document.createElement 'div'
    @sexLabel.classList.add 'sex-label'
    @sexLabel.classList.add 'hidden' unless @showSex
    @div.appendChild @sexLabel

    @characteristicList = document.createElement 'div'
    @characteristicList.classList.add 'characteristic-list'
    @characteristicList.classList.add 'hidden' unless @showCharacteristics
    @div.appendChild @characteristicList

    @_updateSexLabel()
    @_updateCharacteristics()

