 
 PasswordSetting = rclass
     propTypes:
-        email : rtypes.string
+        email_address : rtypes.string
 
     getInitialState: ->
         state        : 'view'   # view --> edit --> saving --> view

            else
                <option key={x.value} value={x.value}>{x.display}</option>
    render : ->
        <Input type='select' ref='input' onChange={this.handleChange}>
            {@render_options()}
        </Input>


                        state    : 'edit'
                        error    : "Error saving -- #{err}"
                else
                    flux.getActions('account').setTo(email_address:@state.email_address)
                    @setState
                        state    : 'view'
                        error    : ''
                        password : ''

    change_button: ->
        if @state.password and @state.email_address != @props.email_address
            <Button onClick={@saveEditing} bsStyle='primary' style={marginLeft:'1ex'}>Change email address</Button>
        else
            <Button disabled bsStyle='primary' style={marginLeft:'1ex'}>Change email address</Button>
