         first_name    : rtypes.string
         last_name     : rtypes.string
         email_address : rtypes.string
+        flux          : rtypes.object
 
     handle_change : (field) ->
         @props.flux.getActions('account').setTo("#{field}": @refs[field].getValue())

                        new_password : ''
                        strength     : 0

    change_button : ->
        if @state.new_password and @state.new_password != @state.old_password and (not @state.zxcvbn? or @state.zxcvbn?.score > 0)
            <Button onClick={@save_new_password} bsStyle='success'>
                Change password
            </Button>

                        state    : 'view'
                        error    : ''
                        password : ''
    is_submittable: ->
        return @state.password and @state.email_address != @props.email_address

    change_button : ->
        if @is_submittable()
            <Button onClick={@save_editing} bsStyle='success'>Change email address</Button>
        else
            <Button disabled bsStyle='success'>Change email address</Button>
