kopia lustrzana https://github.com/wagtail/wagtail
Clean up E241 errors
rodzic
cf965671e3
commit
bf7292ffcf
|
@ -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()
|
||||
|
|
|
@ -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)}
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -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')),
|
||||
)
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue