Skip to content

Commit 11f08cb

Browse files
authored
Merge pull request #337 from cakephp/method-templates
Fix twig syntax
2 parents 89d5eca + a22926b commit 11f08cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/pages/parts/function-detail.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
{% for tag in function.doc.tags.template %}
4747
<code>
4848
{{ tag.name }}
49-
{% if tag.bound is not null %} of {tag.bound}{% endif %}
50-
{% if tag.default is not null %} = {tag.default}{% endif %}
49+
{% if tag.bound is not null %} of {{tag.bound}}{% endif %}
50+
{% if tag.default is not null %} = {{tag.default}}{% endif %}
5151
</code><br>
5252
{{ tag.description }}{{ loop.last ? '' : '<br>' }}
5353
{% endfor %}

0 commit comments

Comments
 (0)