craftcms / docs

Documentation for Craft CMS, Craft Commerce, and other official products.
https://craftcms.com/docs
38 stars 144 forks source link

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

Open bartdigitalpulse opened 1 month ago

bartdigitalpulse commented 1 month ago

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