Skip to content

Commit f499b91

Browse files
committed
Added Labels
1 parent 853bd07 commit f499b91

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

frontend/components/Course/InstructorQueuePage/QueueFormFields.tsx

+12-1
Original file line numberDiff line numberDiff line change
@@ -235,20 +235,31 @@ const QueueFormFields = ({
235235
{`Characters: ${templCharCount}/${templCharLimit}`}
236236
</div>
237237
</Form.Field>
238-
<Form.Field required>
238+
<Form.Field>
239+
<label style={{ display: "inline-block" }} htmlFor="pin-toggle">
240+
Pin
241+
</label>
239242
<Form.Radio
240243
label="Enable Pin"
241244
checked={input.pinEnabled}
242245
name="pinEnabled"
246+
id="pin-toggle"
243247
toggle
244248
disabled={loading}
245249
onChange={handlePinInputChange}
246250
/>
247251
</Form.Field>
248252

249253
<Form.Field>
254+
<label
255+
style={{ display: "inline-block" }}
256+
htmlFor="rate-limit-toggle"
257+
>
258+
Rate Limit
259+
</label>
250260
<Form.Radio
251261
name="rateLimitEnabled"
262+
id="rate-limit-toggle"
252263
toggle
253264
defaultChecked={input.rateLimitEnabled}
254265
label="Enable queue rate-limiting"

0 commit comments

Comments
 (0)