1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +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>
<Label for="fileName">{gettext('Name')}</Label>
<Input
id="fileName"
onKeyPress={this.handleKeyPress}
innerRef={input => {this.newInput = input;}}
id="fileName" placeholder={gettext('newName')}
value={this.state.repoName}
onChange={this.handleRepoNameChange}
/>
@@ -186,7 +186,7 @@ class CreateRepoDialog extends React.Component {
/>
</FormGroup>
<FormGroup>
<Label for="passwd2">{gettext('Password again')}: </Label>
<Label for="passwd2">{gettext('Password again')}</Label>
<Input
id="passwd2"
type="password"