Skip to content

Commit

Permalink
Added the location parameter to ez_render_field (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bertrand Dunogier authored Jan 12, 2021
1 parent f91a72c commit 7600411
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<h2>{{ ez_content_name(content) }}</h2>
{% for field in content.fieldsByLanguage(language|default(null)) %}
<h3>{{ field.fieldDefIdentifier }}</h3>
{{ ez_render_field(content, field.fieldDefIdentifier) }}
{{ ez_render_field(content, field.fieldDefIdentifier, {location: location|default(null)}) }}
{% endfor %}
{% endblock %}

0 comments on commit 7600411

Please sign in to comment.