fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
css fix
[wolnelektury.git]
/
src
/
contact
/
widgets.py
diff --git
a/src/contact/widgets.py
b/src/contact/widgets.py
index
62a4976
..
fd2a49e
100644
(file)
--- a/
src/contact/widgets.py
+++ b/
src/contact/widgets.py
@@
-1,4
+1,3
@@
-# -*- 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 Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
@@
-8,6
+7,6
@@
from django.utils.html import format_html
class HeaderWidget(forms.widgets.Widget):
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('<a{0}></a>', flatatt(attrs))
attrs.update(self.attrs)
return format_html('<a{0}></a>', flatatt(attrs))