Fix Workshop edit form labels
This commit is contained in:
1 file changed
+12
-6
@@ -472,25 +472,31 @@ const MarketplaceDetail = ({ workshopUrl }: { workshopUrl: string }) => {
|
|||||||
<DialogTitle>Edit submission</DialogTitle>
|
<DialogTitle>Edit submission</DialogTitle>
|
||||||
<DialogDescription>Saving creates a new revision and keeps the same Workshop URL.</DialogDescription>
|
<DialogDescription>Saving creates a new revision and keeps the same Workshop URL.</DialogDescription>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
<label className="grid gap-1.5 text-sm">
|
<label htmlFor="workshop-edit-title" className="grid gap-1.5 text-sm">
|
||||||
Title
|
Title
|
||||||
<Input value={editTitle} onChange={(event) => setEditTitle(event.target.value)} />
|
<Input id="workshop-edit-title" value={editTitle} onChange={(event) => setEditTitle(event.target.value)} />
|
||||||
</label>
|
</label>
|
||||||
<label className="grid gap-1.5 text-sm">
|
<label htmlFor="workshop-edit-description" className="grid gap-1.5 text-sm">
|
||||||
Description
|
Description
|
||||||
<Textarea value={editDescription} onChange={(event) => setEditDescription(event.target.value)} />
|
<Textarea
|
||||||
|
id="workshop-edit-description"
|
||||||
|
value={editDescription}
|
||||||
|
onChange={(event) => setEditDescription(event.target.value)}
|
||||||
|
/>
|
||||||
</label>
|
</label>
|
||||||
<label className="grid gap-1.5 text-sm">
|
<label htmlFor="workshop-edit-changelog" className="grid gap-1.5 text-sm">
|
||||||
Changelog
|
Changelog
|
||||||
<Textarea
|
<Textarea
|
||||||
|
id="workshop-edit-changelog"
|
||||||
value={editChangelog}
|
value={editChangelog}
|
||||||
onChange={(event) => setEditChangelog(event.target.value)}
|
onChange={(event) => setEditChangelog(event.target.value)}
|
||||||
placeholder="What changed?"
|
placeholder="What changed?"
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<label className="grid gap-1.5 text-sm">
|
<label htmlFor="workshop-edit-content" className="grid gap-1.5 text-sm">
|
||||||
Content
|
Content
|
||||||
<Textarea
|
<Textarea
|
||||||
|
id="workshop-edit-content"
|
||||||
className="font-mono text-xs"
|
className="font-mono text-xs"
|
||||||
rows={14}
|
rows={14}
|
||||||
value={editContent}
|
value={editContent}
|
||||||
|
|||||||
Reference in new issue
Block a user