Change email and username position

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-02-06 18:59:32 +04:00
parent abba30fde3
commit 7ba4a264d3
+13 -13
View File
@@ -280,19 +280,7 @@ function Koneksyon({chimen}) {
</Button> </Button>
</TabPanel> </TabPanel>
<TabPanel value={value} index={1}> <TabPanel value={value} index={1}>
<FormControl fullWidth autoComplete='off'> <FormControl fullWidth style={{marginTop: '1em'}}>
<InputLabel htmlFor='register-username'>Nom dutilisateur</InputLabel>
<Input
value={registerCredentials.username}
autoComplete='username'
name='register-username'
type='text'
id='register-username'
onChange={event => handleRegisterUpdate({username: event.target.value})}
onKeyUp={handleKeyUpRegister}
/>
</FormControl>
<FormControl fullWidth style={{marginTop: '1em'}} autoComplete='off'>
<InputLabel htmlFor='register-email'>Email</InputLabel> <InputLabel htmlFor='register-email'>Email</InputLabel>
<Input <Input
value={registerCredentials.email} value={registerCredentials.email}
@@ -304,6 +292,18 @@ function Koneksyon({chimen}) {
onKeyUp={handleKeyUpRegister} onKeyUp={handleKeyUpRegister}
/> />
</FormControl> </FormControl>
<FormControl fullWidth>
<InputLabel htmlFor='register-username'>Nom dutilisateur</InputLabel>
<Input
value={registerCredentials.username}
autoComplete='username'
name='register-username'
type='text'
id='register-username'
onChange={event => handleRegisterUpdate({username: event.target.value})}
onKeyUp={handleKeyUpRegister}
/>
</FormControl>
<FormControl fullWidth style={{marginTop: '1em'}}> <FormControl fullWidth style={{marginTop: '1em'}}>
<InputLabel htmlFor='password'>Mot de passe</InputLabel> <InputLabel htmlFor='password'>Mot de passe</InputLabel>
<Input <Input