add dividers to separate read-only information from forms

This commit is contained in:
Athou
2023-05-11 11:45:23 +02:00
parent a2deef7f7f
commit 2979600cc2
2 changed files with 4 additions and 0 deletions

View File

@@ -108,6 +108,8 @@ export function CategoryDetailsPage() {
{editable && (
<>
<Divider />
<TextInput label={<Trans>Name</Trans>} {...form.getInputProps("name")} required />
<CategorySelect
label={<Trans>Parent Category</Trans>}

View File

@@ -151,6 +151,8 @@ export function FeedDetailsPage() {
</Box>
</Input.Wrapper>
<Divider />
<TextInput label={<Trans>Name</Trans>} {...form.getInputProps("name")} required />
<CategorySelect label={<Trans>Category</Trans>} {...form.getInputProps("categoryId")} clearable />
<NumberInput label={<Trans>Position</Trans>} {...form.getInputProps("position")} required min={0} />