Skip to content

Commit 78a87a7

Browse files
author
Bjorn Van Acker
committed
Use var directly
1 parent bb5275a commit 78a87a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/Form/fields.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110

111111
{% if allow_add %}
112112
<button type="button" class="btn btn-success btn-sm" data-role="collection-add-button">
113-
<i class="fas fa-plus me-2"></i> {{ form.vars.add_button_label|trans|ucfirst }}
113+
<i class="fas fa-plus me-2"></i> {{ add_button_label|trans|ucfirst }}
114114
</button>
115115
{% endif %}
116116
{% endapply %}

0 commit comments

Comments
 (0)