mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-11-30 03:33:03 +00:00
4 lines
350 B
HTML
4 lines
350 B
HTML
|
<input type="{{ widget.type }}" name="{{ widget.name }}"{% if widget.value != None and widget.value != "" %}
|
||
|
value="{{ widget.value }}"{% endif %}{% for name, value in widget.attrs.items %}{% ifnotequal value False %}
|
||
|
{{ name }}{% ifnotequal value True %}="{{ value|stringformat:'s' }}"{% endifnotequal %}
|
||
|
{% endifnotequal %}{% endfor %}/>
|