mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
small correction
This commit is contained in:
@@ -89,6 +89,7 @@ class UserForm extends React.Component<Props, State> {
|
||||
let passwordChangeField = null;
|
||||
if (!this.props.user) {
|
||||
nameField = (
|
||||
<div className="column is-half">
|
||||
<InputField
|
||||
label={t("user.name")}
|
||||
onChange={this.handleUsernameChange}
|
||||
@@ -97,6 +98,7 @@ class UserForm extends React.Component<Props, State> {
|
||||
errorMessage={t("validation.name-invalid")}
|
||||
helpText={t("help.usernameHelpText")}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
passwordChangeField = (
|
||||
@@ -106,9 +108,7 @@ class UserForm extends React.Component<Props, State> {
|
||||
return (
|
||||
<form onSubmit={this.submit}>
|
||||
<div className="columns is-multiline">
|
||||
<div className="column is-half">
|
||||
{nameField}
|
||||
</div>
|
||||
<div className="column is-half">
|
||||
<InputField
|
||||
label={t("user.mail")}
|
||||
|
||||
Reference in New Issue
Block a user