     @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,
          {

        [
          @renderInfoBox()
          @renderValidationErrors()
          if @state.data.length > @state.numToShow
            if @state.showAllErrors then @renderShowLess() else @renderShowMore()
        ]
    )

