123456789 |
- {% macro input(name, value='', type='text') -%}
- <input type="{{ type }}" value="{{ value }}" name="{{ name }}" id= "{{ name }}"/>
- {%- endmacro %}
-
- {% macro textarea(name, value='', rows=10, cols=40) -%}
- <textarea name="{{ name }}" rows="{{ rows }}" cols="{{ cols }}">
- {{ value|e }}
- </textarea>
- {%- endmacro %}
|