Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
react-admin-cubicweb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
react-admin-cubicweb
Merge requests
!6
Topic/default/msprint3fev
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Topic/default/msprint3fev
topic/default/msprint3fev
into
branch/default
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
François Ferry
requested to merge
topic/default/msprint3fev
into
branch/default
4 years ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
8e3e1997
Prev
Next
Show latest version
1 file
+
4
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
8e3e1997
fix(Museum): reorder attribute fields
· 8e3e1997
François Ferry
authored
4 years ago
packages/demo/src/App.tsx
+
4
−
4
Options
@@ -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