Skip to content

Commit

Permalink
netbox-community#1033: Tweak SelectWithDisabled option template
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Apr 4, 2017
1 parent 5dbb4cc commit cec8140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/utilities/templates/selectwithdisabled_option.html
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit cec8140

Please sign in to comment.