Add "form-control" class to the "name" field in new domain modal window

This commit is contained in:
Maël Solard
2014-08-07 18:38:42 +02:00
parent c1316c00f1
commit cd8f1334ad
+3
View File
@@ -31,6 +31,9 @@ class DomainFormGeneral(forms.ModelForm, DynamicForm):
),
widget=forms.TextInput(attrs={"class": "col-md-1 form-control"})
)
name = DomainNameField(
widget=forms.TextInput(attrs={"class": "col-md-1 form-control"})
)
class Meta:
model = Domain