     </div>
 
 HomeworkPlan = React.createClass
+  displayName: 'HomeworkPlan'
   getInitialState: ->
     {showSectionTopics: false}
 

    @props.selected.indexOf(section.id) >= 0 and allSelected

  toggleAllSections: (e) ->
    e.stopPropagation()
    if e.target.checked
      action = TaskPlanActions.addTopic
    else

      TaskPlanActions.addTopic(@props.planId, section.id)

ChapterAccordion = React.createClass
  displayName: 'ChapterAccordion'

  propTypes:
    planId: React.PropTypes.any.isRequired
    courseId: React.PropTypes.any.isRequired
    chapter: React.PropTypes.object.isRequired
    hide: React.PropTypes.func.isRequired
    shouldShow: React.PropTypes.bool
    selected: React.PropTypes.array

  renderSections: (section) ->
    active = TaskPlanStore.hasTopic(@props.planId, section.id)
