|
|
@@ -58,6 +58,7 @@ const CompleteUserRegistrationForm: React.FC<Props> = (props: Props) => {
|
|
|
}, [username]);
|
|
|
|
|
|
const handleSubmitRegistration = useCallback(async(e) => {
|
|
|
+ console.log('ok');
|
|
|
e.preventDefault();
|
|
|
setDisableForm(true);
|
|
|
try {
|
|
|
@@ -111,12 +112,16 @@ const CompleteUserRegistrationForm: React.FC<Props> = (props: Props) => {
|
|
|
<input type="hidden" name="token" value={token} />
|
|
|
|
|
|
<div className="input-group">
|
|
|
- <span className="input-group-text"></span><span className="material-symbols-outlined">mail</span>
|
|
|
+ <span className="input-group-text">
|
|
|
+ <span className="material-symbols-outlined">mail</span>
|
|
|
+ </span>
|
|
|
<input type="text" className="form-control" placeholder={t('Email')} disabled value={email} />
|
|
|
</div>
|
|
|
|
|
|
<div className="input-group" id="input-group-username">
|
|
|
- <span className="input-group-text"></span><span className="material-symbols-outlined">person</span>
|
|
|
+ <span className="input-group-text">
|
|
|
+ <span className="material-symbols-outlined">person</span>
|
|
|
+ </span>
|
|
|
<input
|
|
|
type="text"
|
|
|
className="form-control"
|
|
|
@@ -134,7 +139,9 @@ const CompleteUserRegistrationForm: React.FC<Props> = (props: Props) => {
|
|
|
)}
|
|
|
|
|
|
<div className="input-group">
|
|
|
- <span className="input-group-text"></span><span className="material-symbols-outlined">sell</span>
|
|
|
+ <span className="input-group-text">
|
|
|
+ <span className="material-symbols-outlined">sell</span>
|
|
|
+ </span>
|
|
|
<input
|
|
|
type="text"
|
|
|
className="form-control"
|
|
|
@@ -148,7 +155,9 @@ const CompleteUserRegistrationForm: React.FC<Props> = (props: Props) => {
|
|
|
</div>
|
|
|
|
|
|
<div className="input-group">
|
|
|
- <span className="input-group-text"></span><span className="material-symbols-outlined">lock</span>
|
|
|
+ <span className="input-group-text">
|
|
|
+ <span className="material-symbols-outlined">lock</span>
|
|
|
+ </span>
|
|
|
<input
|
|
|
type="password"
|
|
|
className="form-control"
|
|
|
@@ -162,10 +171,19 @@ const CompleteUserRegistrationForm: React.FC<Props> = (props: Props) => {
|
|
|
</div>
|
|
|
|
|
|
<div className="input-group justify-content-center d-flex mt-5">
|
|
|
- <button type="button" disabled={forceDisableForm || disableForm} className="btn btn-fill" id="register">
|
|
|
+ <button type="submit" disabled={forceDisableForm || disableForm} className="btn btn-fill" id="register">
|
|
|
<div className="eff"></div>
|
|
|
- <span className="btn-label"></span><span className="material-symbols-outlined">person_add</span>
|
|
|
- <span className="btn-label-text">{t('Create')}</span>
|
|
|
+ <span className="btn-label d-flex align-items-center">
|
|
|
+ <span className="material-symbols-outlined">person</span>
|
|
|
+ </span>
|
|
|
+ <span className="btn-label-text">{ t('Create') }</span>
|
|
|
+ {/* <div className="eff"></div>
|
|
|
+ <span className="btn-label d-flex align-items-center">
|
|
|
+ <span className="btn-label">
|
|
|
+ <span className="material-symbols-outlined">person_add</span>
|
|
|
+ </span>
|
|
|
+ <span className="btn-label-text">{t('Create')}</span>
|
|
|
+ </span> */}
|
|
|
</button>
|
|
|
</div>
|
|
|
|