docs icon indicating copy to clipboard operation
docs copied to clipboard

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

Open bartdigitalpulse opened this issue 1 year ago • 0 comments

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 %}```

bartdigitalpulse avatar May 24 '24 09:05 bartdigitalpulse