Skip to content
Snippets Groups Projects

Topic/default/msprint3fev

Merged François Ferry requested to merge topic/default/msprint3fev into branch/default
1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
+ 4
4
@@ -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>
);
Loading