#1033: Tweak SelectWithDisabled option template
This commit is contained in:
parent
1ae0820ecc
commit
ae5bf747c9
|
|
@ -1 +1 @@
|
|||
<option value="{{ widget.value }}"{% include "django/forms/widgets/attrs.html" %}{% if widget.label.disabled %} disabled="disabled"{% endif %}>{{ widget.label.label }}</option>
|
||||
<option value="{{ widget.value }}"{% include "django/forms/widgets/attrs.html" %}{% if widget.label.disabled %} disabled="disabled"{% endif %}>{{ widget.label.label|default:widget.label }}</option>
|
||||
|
|
|
|||
Loading…
Reference in New Issue