i'd like to use pipelinig inside a yield expression to pass a translation to a block
{{yield inputField(id="email", name="email", type="email", label="login.form.label.email"|T:"Email",map(),"account", icon="fa-envelope", required=true)}}
the parser seems to die inside "label"
I have also tried to use alternate syntax:
{{ label := "login.form.label.email"|T:"Email",map(),"account"}}
{{yield inputField(id="email", name="email", type="email", label=label, icon="fa-envelope", required=true)}}
which also seems to not work. (it reports the same error)
i'd like to use pipelinig inside a yield expression to pass a translation to a block
{{yield inputField(id="email", name="email", type="email", label="login.form.label.email"|T:"Email",map(),"account", icon="fa-envelope", required=true)}}the parser seems to die inside "label"
I have also tried to use alternate syntax:
{{ label := "login.form.label.email"|T:"Email",map(),"account"}}{{yield inputField(id="email", name="email", type="email", label=label, icon="fa-envelope", required=true)}}which also seems to not work. (it reports the same error)