Skip to content

Commit

Permalink
Update RaceForm.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ArendPeter authored Sep 24, 2024
1 parent a0b9849 commit 31ef757
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/frontend/src/components/ElectionForm/Races/RaceForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,20 +176,6 @@ export default function RaceForm({ race_index, editedRace, errors, setErrors, ap
{
flags.isSet('MULTI_WINNER') &&
<Grid item xs={12} sx={{ m: 0, p: 1 }}>
<Typography gutterBottom variant="h6" component="h6">
Multi-Winner?
</Typography>
<RadioGroup
aria-labelledby="voting-method-radio-group"
name="voter-method-radio-buttons-group"
value={editedRace.voting_method}
onChange={(e) => applyRaceUpdate(race => { race.voting_method = e.target.value })}
>
<FormControlLabel value="Single-Winner" control={<Radio />} label={t('edit_race.single_winner')} sx={{ mb: 0, pb: 0 }} />
<FormControlLabel value="Basic Multi-Winner" control={<Radio />} label={t('edit_race.bloc_multi_winner')} sx={{ mb: 0, pb: 0 }} />
<FormControlLabel value="Proportional Multi-Winner" control={<Radio />} label={t('edit_race.proportional_multi_winner')} sx={{ mb: 0, pb: 0 }} />
</RadioGroup>

<Typography gutterBottom component="p" sx={{marginTop: 2}}>
<b>Number of Winners?</b>
</Typography>
Expand Down

0 comments on commit 31ef757

Please sign in to comment.