 React = require 'react'
+ResourceInput = require '../../components/resource-input'
 handleInputChange = require '../../lib/handle-input-change'
 PromiseRenderer = require '../../components/promise-renderer'
 apiClient = require '../../api/client'


      <form onSubmit={@handleSubmit}>
        <p>
          Name<br />
          <input type="text" name="display_name" value={@props.subjectSet.display_name} className="standard-input full" onChange={@handleChange} />
          <small className="form-help">A subject set’s name is only seen by the science team.</small>
        </p>
        <p><button type="submit" className="standard-button" disabled={not @props.subjectSet.hasUnsavedChanges()}>Save changes</button> {@renderSaveStatus()}</p>
      </form>

      <hr />

EditSubjectSetPage = React.createClass
  displayName: 'EditSubjectSetPage'

  mixins: [Navigation]

  getDefaultProps: ->
    subjectSet: null
