 React = require 'react'
 BS = require 'react-bootstrap'
 {TaskPlanStore, TaskPlanActions} = require '../../flux/task-plan'
+AsyncButton = require '../async-button'
 
 PlanFooter = React.createClass
   displayName: 'PlanFooter'

          onClick={onPublish}
          isWaiting={isWaiting}
          isFailed={isFailed}
          >
          {'Publish'}
        </AsyncButton>

      saveLink =
        <BS.Col sm={6} md={2}>
          <AsyncButton
            className='-save'
            onClick={onSave}
            isWaiting={isWaiting}
            isFailed={isFailed}
            waitingText='Saving…'
            >
            {'Save as Draft'}
          </AsyncButton>
          <p>
            An assignment in draft will not be available to students, even if the open date has passed.
          </p>
