Skip to content

Commit

Permalink
Edit bath and grooming show template and add your export in index.js
Browse files Browse the repository at this point in the history
Related to issue #14
Related to issue #2

Signed-off-by: Flavio Costa <[email protected]>
  • Loading branch information
flaviocostap committed Jun 18, 2017
1 parent 5c1a020 commit 5245587
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Categories/BathAndGrooming/BathAndGroomingShow.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ import {
export const BathAndGroomingShow = props => (
<Show title={'Banho & Tosa'} {...props}>
<SimpleShowLayout>
<ReferenceField label="Paciente" source="patientId" reference="patients" allowEmpty>
<TextField optionText="patientName" />
<TextField label="Animal"/>
<ReferenceField source="patientId" reference="patients">
<TextField
source="patientName"
/>
</ReferenceField>
<TextField
source="serviceBathGrooming"
Expand All @@ -22,4 +25,4 @@ export const BathAndGroomingShow = props => (
/>
</SimpleShowLayout>
</Show>
);
);
1 change: 1 addition & 0 deletions src/Categories/BathAndGrooming/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export { BathAndGroomingList } from './BathAndGroomingList';
export { BathAndGroomingCreate } from './BathAndGroomingCreate';
export { BathAndGroomingEdit } from './BathAndGroomingEdit';
export { BathAndGroomingShow } from './BathAndGroomingShow';

0 comments on commit 5245587

Please sign in to comment.