 React = require 'react'
 {Link, RouteHandler} = require 'react-router'
 PromiseRenderer = require '../../components/promise-renderer'
+LoadingIndicator = require '../../components/loading-indicator'
 TitleMixin = require '../../lib/title-mixin'
 HandlePropChanges = require '../../lib/handle-prop-changes'
 PromiseToSetState = require '../../lib/promise-to-set-state'

                  <li key={subjectSet.id}>
                    <Link to="edit-project-subject-set" params={subjectSetLinkParams}>{subjectSet.display_name}</Link>
                  </li>}
                <li><button type="button" onClick={@createNewSubjectSet} disabled={@state.creatingSubjectSet}>New subject set</button></li>
              </ul>
            }</PromiseRenderer>
          </li>

                  <li key={workflow.id}>
                    <Link to="edit-project-workflow" params={workflowLinkParams}>{workflow.display_name}</Link>
                  </li>}
                <li>
                  <button type="button" onClick={@createNewWorkflow} disabled={@state.workflowCreationInProgress}>New workflow</button>{' '}
                  {if @state.workflowCreationInProgress
                    <LoadingIndicator />}
                  {if @state.workflowCreationError?
                    <div className="form-help error">{@state.workflowCreationError.message}</div>}
                </li>
              </ul>
            }</PromiseRenderer>
          </li>
