mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-17 14:39:56 +02:00
Unicode handling cleanup
This commit is contained in:
@@ -60,7 +60,7 @@ class SelectWithDisabled(forms.Select):
|
||||
option_label = option_label['label']
|
||||
disabled_html = ' disabled="disabled"' if option_disabled else ''
|
||||
|
||||
return format_html('<option value="{}"{}{}>{}</option>',
|
||||
return format_html(u'<option value="{}"{}{}>{}</option>',
|
||||
option_value,
|
||||
selected_html,
|
||||
disabled_html,
|
||||
|
||||
Reference in New Issue
Block a user