lib.itmens/common/templates/widgets/image.html
2020-05-12 14:05:12 +08:00

2 lines
No EOL
236 B
HTML

<input type="{{ widget.type }}" name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %}>
<img src="{{ widget.value|default_if_none:''|stringformat:'s' }}" alt="" id="previewImage" style="margin:10px 0; max-width:500px;">