update registration confirmation and turn off translation
[prawokultury.git] / contact / widgets.py
1 from django import forms
2 from django.forms.util import flatatt
3 from django.utils.html import format_html
4
5 class HeaderWidget(forms.widgets.Widget):
6     def render(self, name, value, attrs=None):
7         attrs.update(self.attrs)
8         return format_html('<a{0}></a>', flatatt(attrs))
9         # return format_html('<div{0}>{1}</div>', flatatt(attrs), unicode(value))