         confirm_delete : false
         edit_due : false
         due_date : undefined
+        editing_note : false
+        note : ''
 
     edit_due_date: ->
         @setState(edit_due:true, due_date:@props.assignment.get('due_date'))

                    <StudentListForAssignment flux={@props.flux} name={@props.name}
                        assignment={@props.assignment} students={@props.students}
                        user_map={@props.user_map} />
                </Panel>
            </Col>
        </Row>

                <Input autoFocus value={@state.due_date} ref='due_date_input'
                       type='text' placeholder='Due date'
                       onChange={=>@setState(due_date:@refs.due_date_input.getValue())}
                       onKeyDown={(e)=>if e.keyCode==27 then @setState(edit_due:false)}
                />
            </form>
        else
