Skip to content

Commit 64afcca

Browse files
author
Mykolas Mankevicius
committed
fix
1 parent ec0a04d commit 64afcca

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You can configure the addon by visiting CP > Addons > Dynamic Token:
1313
## Usage
1414

1515
* disable CSRF verification by adding `/!/DynamicToken` to the `csrf_exclude` array in `site/settings/system.yaml`. Don't worry we check that the referrer is comming from your `APP_URL`, but this still carries its own risks.
16-
* add a `{{ dynamic_token }}` to your layout file just before `</body>` tag.
16+
* add a `\{\{ dynamic_token \}\}` to your layout file just before `</body>` tag.
1717
* add an `APP_URL=<your_site_url>` to your `.env` file.
1818
e.g.:`APP_URL=site.com`
1919
local development: `APP_URL=localhost`
@@ -31,15 +31,15 @@ local development: `APP_URL=localhost`
3131
</head>
3232
<body>
3333
34-
{{ form:create in="superfans" }}
35-
{{ fields }}
36-
<label>{{ display }}
37-
<input type="text" name="{{ field }}" value="{{ old }}" />
34+
\{\{ form:create in="superfans" \}\}
35+
\{\{ fields \}\}
36+
<label>\{\{ display \}\}
37+
<input type="text" name="\{\{ field }}" value="\{\{ old }}" \/\>
3838
</label>
39-
{{ /fields }}
40-
{{ /form:create }}
39+
\{\{ /fields \}\}
40+
\{\{ /form:create \}\}
4141
42-
{{ dynamic_token }}
42+
\{\{ dynamic_token \}\}
4343
4444
</body>
4545
</html>

0 commit comments

Comments
 (0)