...

Text file src/github.com/noirbizarre/gonja/testData/statements/import-macro.tpl

Documentation: github.com/noirbizarre/gonja/testData/statements

     1{% import "macro.tpl" as m -%}
     2{% from "macro.tpl" import input, input as input2 -%}
     3<p>{{ m.input('username') }}</p>
     4<p>{{ m.input('username', simple.name) }}</p>
     5<p>{{ input('username', type='password') }}</p>
     6<p>{{ input2('username', type='password') }}</p>

View as plain text