     @state = {
       data: @props.validationErrors,
       numToShow: 5
-      showAll: false
+      showAllErrors: false
       hideAll: false
       ignored: @props.ignored
     }


  renderValidationErrors: ->
    for validationError, idx in @state.data
      hidden = if @state.showAll then false else idx >= @state.numToShow
      unless hidden
        React.createElement(ValidationError,
          {

    @setState({ hideAll: !@state.hideAll})

  showMore: ->
    @setState({ showAllErrors: true })

  showLess: ->
    @setState({ showAllErrors: false })

