diff --git a/wagtail/wagtailcore/tests/test_blocks.py b/wagtail/wagtailcore/tests/test_blocks.py index 458fbb341b..b038a5d03c 100644 --- a/wagtail/wagtailcore/tests/test_blocks.py +++ b/wagtail/wagtailcore/tests/test_blocks.py @@ -743,7 +743,7 @@ class TestStreamBlock(unittest.TestCase): 'value': 'My second paragraph', }, ]) - return block.render_form(value, prefix='myarticle') + return block.render_form(value, prefix='myarticle') def test_render_form_wrapper_class(self): html = self.render_form() diff --git a/wagtail/wagtaildocs/views/chooser.py b/wagtail/wagtaildocs/views/chooser.py index 1b8c0ef5bb..7669ffbc88 100644 --- a/wagtail/wagtaildocs/views/chooser.py +++ b/wagtail/wagtaildocs/views/chooser.py @@ -94,7 +94,7 @@ def document_chosen(request, document_id): return render_modal_workflow( request, None, 'wagtaildocs/chooser/document_chosen.js', - {'document_json': get_document_json(document)} + {'document_json': get_document_json(document)} ) diff --git a/wagtail/wagtailforms/models.py b/wagtail/wagtailforms/models.py index ff3278167a..be093ebb9d 100644 --- a/wagtail/wagtailforms/models.py +++ b/wagtail/wagtailforms/models.py @@ -22,17 +22,17 @@ from .forms import FormBuilder FORM_FIELD_CHOICES = ( - ('singleline', _('Single line text')), - ('multiline', _('Multi-line text')), - ('email', _('Email')), - ('number', _('Number')), - ('url', _('URL')), - ('checkbox', _('Checkbox')), - ('checkboxes', _('Checkboxes')), - ('dropdown', _('Drop down')), - ('radio', _('Radio buttons')), - ('date', _('Date')), - ('datetime', _('Date/time')), + ('singleline', _('Single line text')), + ('multiline', _('Multi-line text')), + ('email', _('Email')), + ('number', _('Number')), + ('url', _('URL')), + ('checkbox', _('Checkbox')), + ('checkboxes', _('Checkboxes')), + ('dropdown', _('Drop down')), + ('radio', _('Radio buttons')), + ('date', _('Date')), + ('datetime', _('Date/time')), )