From: unkind Date: Tue, 17 Sep 2013 07:34:02 +0000 (+0400) Subject: Add "cols" parameter to the textarea macro X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=c735d6de7abe43ea6459918b832764a57cc8172c;p=web%2Fkonrad%2Ftwig.git Add "cols" parameter to the textarea macro Macro textarea depends on cols variable, but there is no way to pass it. --- diff --git a/doc/tags/import.rst b/doc/tags/import.rst index f6bf718..21a1e19 100644 --- a/doc/tags/import.rst +++ b/doc/tags/import.rst @@ -15,7 +15,7 @@ Imagine we have a helper module that renders forms (called ``forms.html``): {% endmacro %} - {% macro textarea(name, value, rows) %} + {% macro textarea(name, value, rows, cols) %} {% endmacro %}