mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-27 03:41:43 +01:00
Fixes #253: Added ability to search by prefix to IP address filters
This commit is contained in:
@@ -231,7 +231,8 @@ class BootstrapMixin(forms.BaseForm):
|
||||
field.widget.attrs['class'] = 'form-control'
|
||||
if field.required:
|
||||
field.widget.attrs['required'] = 'required'
|
||||
field.widget.attrs['placeholder'] = field.label
|
||||
if 'placeholder' not in field.widget.attrs:
|
||||
field.widget.attrs['placeholder'] = field.label
|
||||
|
||||
|
||||
class ConfirmationForm(forms.Form, BootstrapMixin):
|
||||
|
||||
Reference in New Issue
Block a user