Commit d375b851 authored by Yechang's avatar Yechang
Browse files

feat: similarity check

parent bf8f6d82
Loading
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -269,19 +269,15 @@
							<Form.Label>Problem #{i + 1} ID</Form.Label>
							<NumberInput {...attrs} bind:value={$formData.problems[i].id} />
						</Form.Control>
						<Form.Description class={cn(i !== 0 && 'sr-only')}>
							The problem id
						</Form.Description>
						<Form.Description class={cn(i !== 0 && 'sr-only')}>The problem id</Form.Description>
						<Form.FieldErrors />
					</Form.ElementField>
					<Form.ElementField class="flex-1 px-2 hidden" {form} name="problems[{i}].index">
					<Form.ElementField class="hidden flex-1 px-2" {form} name="problems[{i}].index">
						<Form.Control let:attrs>
							<Form.Label>Index</Form.Label>
							<NumberInput {...attrs} bind:value={$formData.problems[i].index} />
						</Form.Control>
						<Form.Description class={cn(i !== 0 && 'sr-only')}>
							Index
						</Form.Description>
						<Form.Description class={cn(i !== 0 && 'sr-only')}>Index</Form.Description>
						<Form.FieldErrors />
					</Form.ElementField>
					<Form.ElementField class="flex-1 px-2" {form} name="problems[{i}].penaltyAfter">