           </tbody>
         </table>
         {if projectSubjectSets.length is 0
-          <button type="button" onClick={@addDemoSubjectSet}>Add an example subject set</button>}
+          <p>
+            This project has no subject sets.{' '}
+            <button type="button" onClick={@addDemoSubjectSet}>Add an example subject set</button>
+          </p>}
       </div>
     }</PromiseRenderer>
 

{Navigation} = require 'react-router'
tasks = require '../../classifier/tasks'

DEMO_SUBJECT_SET_ID = '1166'

EditWorkflowPage = React.createClass
  displayName: 'EditWorkflowPage'


  addDemoSubjectSet: ->
    @props.project.addLink 'subject_sets', [DEMO_SUBJECT_SET_ID]
      .then =>
        @props.project.get 'subject_sets'
      .then ([subjectSet]) =>
        @props.workflow.addLink 'subject_sets', [subjectSet.id]

  afterDelete: ->
    @props.project.uncacheLink 'workflows'
