Remove deprecated CustomInput

This commit is contained in:
Thor77 2022-06-10 22:34:37 +02:00
parent 2130b94970
commit 3cc29eafc2
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
1 changed files with 17 additions and 9 deletions

View File

@ -9,7 +9,6 @@ import {
Col, Col,
Collapse, Collapse,
Container, Container,
CustomInput,
Form, Form,
FormGroup, FormGroup,
Input, Input,
@ -101,14 +100,23 @@ class CreateTournamentForm extends React.Component {
<Input type="text" name="description" size="255" value={this.state.description} <Input type="text" name="description" size="255" value={this.state.description}
onChange={this.handleDescriptionInput}/> onChange={this.handleDescriptionInput}/>
</FormGroup> </FormGroup>
<FormGroup> <FormGroup tag="fieldset">
<CustomInput type="checkbox" id="public" <FormGroup check>
label="Turnier öffentlich anzeigen (schreibgeschützt)" checked={this.state.public} <Label for="public" check>Turnier öffentlich anzeigen (schreibgeschützt)</Label>
onChange={this.handlePublicInput}/> <Input type="checkbox" id="public"
<CustomInput type="checkbox" id="mix-teams" label="Teams mischen"/> checked={this.state.public}
<CustomInput type="checkbox" id="group-phase" label="Gruppenphase" onChange={this.handlePublicInput}/>
checked={this.state.groupPhaseEnabled} </FormGroup>
onChange={this.handleGroupPhaseEnabledInput}/> <FormGroup check>
<Label for="mix-teams" check>Teams mischen</Label>
<Input type="checkbox" id="mix-teams"/>
</FormGroup>
<FormGroup check>
<Label for="group-phase" check>Gruppenphase</Label>
<Input type="checkbox" id="group-phase"
checked={this.state.groupPhaseEnabled}
onChange={this.handleGroupPhaseEnabledInput}/>
</FormGroup>
</FormGroup> </FormGroup>
<Collapse isOpen={this.state.groupPhaseEnabled}> <Collapse isOpen={this.state.groupPhaseEnabled}>
<FormGroup> <FormGroup>