1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-27 23:56:53 +01:00
lodel2_mirror/lodel/plugins/webui/templates/components/components.html
Yann 0406e91846 Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
2016-11-03 17:02:46 +01:00

9 lines
No EOL
329 B
HTML

{% 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 %}