1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 23:48:47 +00:00

bugfix for 'New Library' dialog (#4355)

This commit is contained in:
llj
2019-12-13 11:14:05 +08:00
committed by Daniel Pan
parent ec6535af8a
commit 5e10f9ab73

View File

@@ -210,7 +210,7 @@ class CreateRepoDialog extends React.Component {
{!this.state.disabled &&
<FormGroup>
{/* todo translate */}
<Label for="passwd1" className="font-weight-bold">{gettext('Password')}</Label><span className="tip">{' '}{gettext('(at least {placeholder} characters)').replace('{placeholder}', repoPasswordMinLength)}</span>
<Label for="passwd1">{gettext('Password')}</Label><span className="tip">{' '}{gettext('(at least {placeholder} characters)').replace('{placeholder}', repoPasswordMinLength)}</span>
<Input
id="passwd1"
type="password"
@@ -223,7 +223,7 @@ class CreateRepoDialog extends React.Component {
}
{!this.state.disabled &&
<FormGroup>
<Label for="passwd2" className="font-weight-bold">{gettext('Password again')}</Label>
<Label for="passwd2">{gettext('Password again')}</Label>
<Input
id="passwd2"
type="password"