client/src/components/Settings.js
changeset 142 56850f5c73f6
parent 129 d48946d164c6
child 143 cfcbf4bc66f1
equal deleted inserted replaced
141:cd5e8fb64b74 142:56850f5c73f6
    31                 <FormGroup>
    31                 <FormGroup>
    32                   <ControlLabel>First name</ControlLabel>
    32                   <ControlLabel>First name</ControlLabel>
    33                   <FormControl
    33                   <FormControl
    34                     name="firstname"
    34                     name="firstname"
    35                     defaultValue={ firstname }
    35                     defaultValue={ firstname }
    36                     placeholder="John"
    36                     placeholder="First Name"
    37                     inputRef={ ref => { this.firstname = ref; } }
    37                     inputRef={ ref => { this.firstname = ref; } }
    38                   />
    38                   />
    39                 </FormGroup>
    39                 </FormGroup>
    40                 <FormGroup>
    40                 <FormGroup>
    41                   <ControlLabel>Last name</ControlLabel>
    41                   <ControlLabel>Last name</ControlLabel>
    42                   <FormControl
    42                   <FormControl
    43                     name="lastname"
    43                     name="lastname"
    44                     defaultValue={ lastname }
    44                     defaultValue={ lastname }
    45                     placeholder="Doe"
    45                     placeholder="Last Name"
    46                     inputRef={ ref => { this.lastname = ref; } }
    46                     inputRef={ ref => { this.lastname = ref; } }
    47                   />
    47                   />
    48                 </FormGroup>
    48                 </FormGroup>
    49               </form>
    49               </form>
    50               <Button block bsStyle="success" onClick={this.updateSettings}>Save settings</Button>
    50               <Button block bsStyle="success" onClick={this.updateSettings}>Save settings</Button>