bolt / bolt/docs

Typo on Twig compontent editlink

Open
#1,199 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
45
Forks
189
PR merge metrics
No merged PRs in 30d

Description

Hi there 👋

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

it says

![Capture_edit_link](https://user-images.githubusercontent.com/66225295/135686941-0dac01e4-bc93-44b0-bdab-ab88432d52d0.PNG)

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

`edit_link`

like so:

`{% if record|edit_link %}
Edit this page (№ {{ record.id }})
{% endif %}`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.