         if @is_submittable()
             <Button onClick={@save_new_password} bsStyle='success'>
                 Change password
-            </Button>
+                </Button>
         else
             <Button disabled bsStyle='success'>Change password</Button>
 


    render : ->
        <LabeledRow label='Email address'>
            {@render_value()}
        </LabeledRow>

PasswordSetting = rclass


    render : ->
        <LabeledRow label='Password'>
            <div style={height:'30px'}>
                <Button className='pull-right' disabled={@state.state != 'view'} onClick={@change_password}  style={marginTop: '8px'}>
                    Change password...
                </Button>
            </div>
            {@render_edit() if @state.state != 'view'}
        </LabeledRow>

# TODO: issue -- if edit an account setting in another browser and in the middle of editing
