mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 17:05:43 +01:00
remove unnecessary div containers
This commit is contained in:
@@ -118,28 +118,20 @@ class RepositoryRoleForm extends React.Component<Props, State> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<form onSubmit={this.submit}>
|
<form onSubmit={this.submit}>
|
||||||
<div className="columns">
|
<InputField
|
||||||
<div className="column">
|
name="name"
|
||||||
<InputField
|
label={t("repositoryRole.create.name")}
|
||||||
name="name"
|
onChange={this.handleNameChange}
|
||||||
label={t("repositoryRole.create.name")}
|
value={role.name ? role.name : ""}
|
||||||
onChange={this.handleNameChange}
|
disabled={!!this.props.role}
|
||||||
value={role.name ? role.name : ""}
|
/>
|
||||||
disabled={!!this.props.role}
|
{verbSelectBoxes}
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<>{verbSelectBoxes}</>
|
|
||||||
<hr />
|
<hr />
|
||||||
<div className="columns">
|
<SubmitButton
|
||||||
<div className="column">
|
loading={loading}
|
||||||
<SubmitButton
|
label={t("repositoryRole.form.submit")}
|
||||||
loading={loading}
|
disabled={!this.isValid()}
|
||||||
label={t("repositoryRole.form.submit")}
|
/>
|
||||||
disabled={!this.isValid()}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user