def __init__(self, *args, **kwargs):
        extra = kwargs.pop('extra')
        request = kwargs.pop('request')
        super(PageEditFileForm, self).__init__(*args, **kwargs)
        ckeditor_config_name = SiteOptions.objects.get_ckeditor_config(request)

        for b in extra:
            self.fields['%s' % b['block']] = forms.CharField(
                widget=CKEditorWidget(config_name=ckeditor_config_name), initial=b['content'])
dataset/ETHPy150Open zorna/zorna/zorna/pages/forms.py/PageEditFileForm.__init__/original