mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-12-28 10:22:20 +00:00
9 lines
419 B
HTML
9 lines
419 B
HTML
|
<input type="text"
|
||
|
id="{{ widget.attrs.id }}"
|
||
|
class="form-control colorfield_field jscolor"
|
||
|
name="{{ widget.name }}"
|
||
|
value="{% firstof widget.value widget.attrs.default '' %}"
|
||
|
placeholder="{% firstof widget.value widget.attrs.default '' %}"
|
||
|
data-jscolor="{hash:true,width:225,height:150,required:{% if widget.attrs.required %}true{% else %}false{% endif %}}"
|
||
|
{% if widget.attrs.required %}required{% endif %} />
|