Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo on Twig compontent editlink #1199

Open
Sander-Hub opened this issue Oct 1, 2021 · 0 comments
Open

Typo on Twig compontent editlink #1199

Sander-Hub opened this issue Oct 1, 2021 · 0 comments

Comments

@Sander-Hub
Copy link

Sander-Hub commented Oct 1, 2021

Hi there 👋

On the following page:
https://docs.boltcms.io/5.0/twig-components/extras#examples

it says

Capture_edit_link

this does not work, the magical filter that does is:

edit_link

like so:

{% if record|edit_link %} <a href="{{ record|edit_link }}">Edit this page (№ {{ record.id }})</a> {% endif %}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant