Update macro.rst

Small grammar fix: subject-verb agreement "Macros differ" vs "Macros differs"
This commit is contained in:
Aaron Wallentine
2016-06-23 21:05:31 -06:00
committed by Fabien Potencier
parent 25cf1527a7
commit 080054501f
+1 -1
View File
@@ -13,7 +13,7 @@ Here is a small example of a macro that renders a form element:
<input type="{{ type|default('text') }}" name="{{ name }}" value="{{ value|e }}" size="{{ size|default(20) }}" />
{% endmacro %}
Macros differs from native PHP functions in a few ways:
Macros differ from native PHP functions in a few ways:
* Default argument values are defined by using the ``default`` filter in the
macro body;