diff -r 56850f5c73f6 -r cfcbf4bc66f1 client/src/components/Settings.js --- a/client/src/components/Settings.js Wed Jul 18 17:32:09 2018 +0200 +++ b/client/src/components/Settings.js Tue Aug 14 20:34:50 2018 +0200 @@ -1,7 +1,6 @@ import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; -import { Grid, Row, Col, Button, FormGroup, ControlLabel, FormControl } from 'react-bootstrap'; import '../App.css'; import Navbar from './Navbar'; import * as userActions from '../actions/userActions'; @@ -24,33 +23,33 @@ return (
- - - +
+
+
- - First name - + + { this.firstname = ref; } } + placeholder="Entrez un prénom" + ref={(firstname) => { this.firstname = firstname; }} /> - - - Last name - +
+ + { this.lastname = ref; } } + placeholder="Entrez un nom" + ref={(lastname) => { this.lastname = lastname; }} /> - +
- - - - + +
+
+
); }