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

[Content]: Craft - Addresses - Example - typo in example #613

Open
bartdigitalpulse opened this issue May 24, 2024 · 0 comments
Open

[Content]: Craft - Addresses - Example - typo in example #613

bartdigitalpulse opened this issue May 24, 2024 · 0 comments

Comments

@bartdigitalpulse
Copy link

Product

Craft CMS

Description

https://craftcms.com/docs/5.x/reference/element-types/addresses.html#example

Unclosed bracket after login. # used instead of %

{% requireLogin #}

{% set addresses = craft.addresses()
  .owner(currentUser)
  .all() %}

{% for addr in addresses %}
  <address>{{ addr|address }}</address>
{% endfor %}```

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