summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/widgets.py
diff options
context:
space:
mode:
authorMagnus Hagander2014-04-23 18:32:25 +0000
committerMagnus Hagander2014-04-23 18:32:25 +0000
commit97d637b8e9dc80423704a14134ecd2ba3bc366d4 (patch)
tree799d48953f7e72191dd5bb57548ef918475a9e6b /pgcommitfest/commitfest/widgets.py
parent36e43001efb97e1fbd477cfb5890e7c5c9812e5a (diff)
Upgrade to bootstrap 3
Diffstat (limited to 'pgcommitfest/commitfest/widgets.py')
-rw-r--r--pgcommitfest/commitfest/widgets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pgcommitfest/commitfest/widgets.py b/pgcommitfest/commitfest/widgets.py
index 623643f..0475001 100644
--- a/pgcommitfest/commitfest/widgets.py
+++ b/pgcommitfest/commitfest/widgets.py
@@ -3,6 +3,7 @@ from django.utils.safestring import mark_safe
class ThreadPickWidget(TextInput):
def render(self, name, value, attrs=None):
+ attrs['class'] += ' threadpick-input'
html = super(ThreadPickWidget, self).render(name, value, attrs)
- html = html + '&nbsp;<button class="btn attachThreadButton" id="btn_%s">Find thread</button>' % name
+ html = html + '&nbsp;<button class="btn btn-default attachThreadButton" id="btn_%s">Find thread</button>' % name
return mark_safe(html)