[UPDT] BASE: Common field style for url field inputs
This commit is contained in:
@@ -197,7 +197,13 @@ class ModelForm(forms.ModelForm):
|
||||
|
||||
if isinstance(
|
||||
widget,
|
||||
(forms.NumberInput, forms.EmailInput, forms.TextInput, forms.FileInput),
|
||||
(
|
||||
forms.NumberInput,
|
||||
forms.EmailInput,
|
||||
forms.TextInput,
|
||||
forms.FileInput,
|
||||
forms.URLInput,
|
||||
),
|
||||
):
|
||||
label = ""
|
||||
if field.label is not None:
|
||||
|
||||
Reference in New Issue
Block a user