Fix typo in wagtailforms.forms.FormBuilder.formfields

pull/713/head
Nick Smith 2014-10-17 10:57:42 +01:00
rodzic 7fe1c0b09b
commit 0349b71766
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -83,7 +83,7 @@ class FormBuilder(object):
if field.field_type in self.FIELD_TYPES:
formfields[field.clean_name] = self.FIELD_TYPES[field.field_type](self, field, options)
else:
raise Exception("Unrecognised field type: " + form.field_type)
raise Exception("Unrecognised field type: " + field.field_type)
return formfields