|
@@ -284,7 +284,7 @@
|
|
|
|
|
|
{% block widget_attributes %}
|
|
{% block widget_attributes %}
|
|
{% spaceless %}
|
|
{% spaceless %}
|
|
- id="{{ id }}" name="{{ full_name }}"{% if read_only %} disabled="disabled"{% endif %}{% if required %} required="required"{% endif %}{% if max_length %} maxlength="{{ max_length }}"{% endif %}{% if pattern %} pattern="{{ pattern }}"{% endif %}
|
|
|
|
|
|
+ id="{{ id }}" name="{{ full_name }}"{% if read_only %} readonly="readonly"{% endif %}{% if required %} required="required"{% endif %}{% if max_length %} maxlength="{{ max_length }}"{% endif %}{% if pattern %} pattern="{{ pattern }}"{% endif %}
|
|
{% for attrname,attrvalue in attr %}{{attrname}}="{{attrvalue}}" {% endfor %}
|
|
{% for attrname,attrvalue in attr %}{{attrname}}="{{attrvalue}}" {% endfor %}
|
|
{% endspaceless %}
|
|
{% endspaceless %}
|
|
{% endblock widget_attributes %}
|
|
{% endblock widget_attributes %}
|