Skip to content
Snippets Groups Projects
Commit 8e3e1997aa98 authored by François Ferry's avatar François Ferry
Browse files

fix(Museum): reorder attribute fields

parent 1e7db076f47c
No related branches found
No related tags found
1 merge request!6Topic/default/msprint3fev
......@@ -26,4 +26,6 @@
export const MuseumShow = (props: ShowProps) => (
<Show {...props}>
<SimpleShowLayout>
<TextField source="id" />
<TextField source="name" />
<TextField source="postal_address" />
......@@ -29,8 +31,4 @@
<TextField source="postal_address" />
<NumberField source="longitude" />
<NumberField source="latitude" />
<TextField source="name" />
<TextField source="id" />
<ReferenceField label="City" link="show" reference="City" source="is_in">
<TextField source="name" />
</ReferenceField>
......@@ -34,6 +32,8 @@
<ReferenceField label="City" link="show" reference="City" source="is_in">
<TextField source="name" />
</ReferenceField>
<NumberField source="longitude" />
<NumberField source="latitude" />
</SimpleShowLayout>
</Show>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment