1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 13:24:52 +00:00

repair dialog-ui detail

This commit is contained in:
shanshuirenjia
2018-12-16 15:54:55 +08:00
parent c9197d0186
commit d3cd2a6d33

View File

@@ -155,9 +155,9 @@ class CreateRepoDialog extends React.Component {
<FormGroup> <FormGroup>
<Label for="fileName">{gettext('Name')}</Label> <Label for="fileName">{gettext('Name')}</Label>
<Input <Input
id="fileName"
onKeyPress={this.handleKeyPress} onKeyPress={this.handleKeyPress}
innerRef={input => {this.newInput = input;}} innerRef={input => {this.newInput = input;}}
id="fileName" placeholder={gettext('newName')}
value={this.state.repoName} value={this.state.repoName}
onChange={this.handleRepoNameChange} onChange={this.handleRepoNameChange}
/> />
@@ -186,7 +186,7 @@ class CreateRepoDialog extends React.Component {
/> />
</FormGroup> </FormGroup>
<FormGroup> <FormGroup>
<Label for="passwd2">{gettext('Password again')}: </Label> <Label for="passwd2">{gettext('Password again')}</Label>
<Input <Input
id="passwd2" id="passwd2"
type="password" type="password"