fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gliściński
[prawokultury.git]
/
contact
/
widgets.py
diff --git
a/contact/widgets.py
b/contact/widgets.py
index
a08e351
..
738ae04
100644
(file)
--- a/
contact/widgets.py
+++ b/
contact/widgets.py
@@
-4,7
+4,6
@@
from django.utils.html import format_html
class HeaderWidget(forms.widgets.Widget):
def render(self, name, value, attrs=None):
class HeaderWidget(forms.widgets.Widget):
def render(self, name, value, attrs=None):
- return ''
attrs.update(self.attrs)
attrs.update(self.attrs)
- return format_html('<
div{0}>{1}</div>', flatatt(attrs), unicode(value
))
-
+ return format_html('<
a{0}></a>', flatatt(attrs
))
+ # return format_html('<div{0}>{1}</div>', flatatt(attrs), unicode(value))