 
       <hr />
 
-      This set contains {@props.subjectSet.set_member_subjects_count} subjects:<br />
       <SubjectSetListing subjectSet={@props.subjectSet} page={@state.page} newPage={@newPage} user={@props.user} />
 
       <hr />

    @setSubjectResources(@props.subjectSet.id, pageValue)

  render: ->
    if @state.subjects
      <div>
        <SubjectSetListingTable subjects={@state.subjects} onPreview={@previewSubject} onRemove={@removeSubject} />
        <nav className="pagination">
          Page <select value={@props.page} disabled={@state.pageCount < 2 or isNaN @state.pageCount} onChange={(e) => @newPage(e.target.value)}>
            {if isNaN @state.pageCount
              <option>?</option>
            else
              for p in [1..@state.pageCount]
                <option key={p} value={p}>{p}</option>}
          </select> of {@state.pageCount || '?'}
        </nav>
      </div>
    else
      null

  previewSubject: (subject) ->
    alert <div className="content-container subject-preview">


  getInitialState: ->
    pageCount: NaN
    subjectCount: @props.subjectSet.set_member_subjects_count
    subjects: null

  componentWillReceiveProps: (nextProps) ->
