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