summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest/widgets.py
diff options
context:
space:
mode:
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)