bug #15514 removed _self usage when not needed (fabpot)
This PR was merged into the 2.7 branch.
Discussion
----------
removed _self usage when not needed
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
As those calls are macros, there are already imported via the `from` call, so accessing them directly is not need, nor desired.
Commits
-------
3d0577d
removed _self usage when not needed
This commit is contained in:
commit
b450c8481a
@ -434,7 +434,7 @@
|
|||||||
{% if data.children is not empty %}
|
{% if data.children is not empty %}
|
||||||
<ul id="{{ data.id }}-children"{% if not expanded %} class="hidden"{% endif %}>
|
<ul id="{{ data.id }}-children"{% if not expanded %} class="hidden"{% endif %}>
|
||||||
{% for childName, childData in data.children %}
|
{% for childName, childData in data.children %}
|
||||||
{{ _self.form_tree_entry(childName, childData, false) }}
|
{{ form_tree_entry(childName, childData, false) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -673,6 +673,6 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% for childName, childData in data.children %}
|
{% for childName, childData in data.children %}
|
||||||
{{ _self.form_tree_details(childName, childData, forms_by_hash) }}
|
{{ form_tree_details(childName, childData, forms_by_hash) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
Reference in New Issue
Block a user