Skip to content

Commit ff63961

Browse files
committed
Fix liquid errors
1 parent b5a8bea commit ff63961

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/CreateDialog.md

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ In that case, use [the `<CreateInDialogButton>` component](./CreateInDialogButto
7979

8080
Put `<CreateInDialogButton>` wherever you would put a `<CreateButton>`, and use the same children as you would for a `<Create>` component (e.g. a `<SimpleForm>`). Don't forget to preset the `record` prop if you want to initialize the form with a foreign key.
8181

82+
{% raw %}
8283
```jsx
8384
import {
8485
Datagrid,
@@ -116,5 +117,6 @@ const CompanyShow = () => (
116117
</Show>
117118
);
118119
```
120+
{% endraw %}
119121

120122
In the above example, `<CreateInDialogButton>` is used to create a new employee for the current company. [The `<WithRecord>` component](./WithRecord.md) helps to set the new employee company id by default.

docs/CreateInDialogButton.md

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Note that this component doesn't use routing, so it doesn't change the URL. It's
1717

1818
Put `<CreateInDialogButton>` wherever you would put a `<CreateButton>`, and use the same children as you would for a `<Create>` component (e.g. a `<SimpleForm>`):
1919

20+
{% raw %}
2021
```jsx
2122
import {
2223
Datagrid,
@@ -54,6 +55,7 @@ const CompanyShow = () => (
5455
</Show>
5556
);
5657
```
58+
{% endraw %}
5759

5860
In the above example, `<CreateInDialogButton>` is used to create a new employee for the current company. [The `<WithRecord>` component](./WithRecord.md) helps to set the new employee company id by default.
5961

0 commit comments

Comments
 (0)