fabpot/Twig — Issue #499: Named parameters
Author: scp
Created: 2011-11-04 16:14:22+00:00
State: open

The example given at: http://twig.sensiolabs.org/doc/tags/import.html for named parmeters:

{{ input_field('password', type='password') }}

Errors: 'Twig_Error_Syntax' with message 'Arguments must be separated by a comma. Unexpected token "operator" of value "=" ("punctuation" expected with value ",")

Does this functionality need to be enabled? Or is it broken? Or does it not yet exist?

This functionality would be really beneficial - it means you don't need to remember the order of parameters (or spend time looking them up.)