X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3f7ea05878c9fa9ac9ff13211e48773ab6cf64eb..ce097db0af8c96297501b569ec49477b76c1ceec:/src/contact/widgets.py?ds=sidebyside diff --git a/src/contact/widgets.py b/src/contact/widgets.py index 62a4976d5..d5e703bf7 100644 --- a/src/contact/widgets.py +++ b/src/contact/widgets.py @@ -1,6 +1,5 @@ -# -*- coding: utf-8 -*- -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from django import forms from django.forms.utils import flatatt @@ -8,6 +7,6 @@ from django.utils.html import format_html class HeaderWidget(forms.widgets.Widget): - def render(self, name, value, attrs=None): + def render(self, name, value, attrs=None, renderer=None): attrs.update(self.attrs) return format_html('', flatatt(attrs))