diff options
author | Magnus Hagander | 2019-02-05 22:01:05 +0000 |
---|---|---|
committer | Magnus Hagander | 2019-02-05 22:01:05 +0000 |
commit | a32f4007670330d05a834db1b67687ab8b8c3b34 (patch) | |
tree | 02322951c6ab86287bf26ff7634292df9357f81e /pgcommitfest/commitfest/widgets.py | |
parent | 83edf49e86d2db5d7a75f6c1068d3e62bda99923 (diff) |
Convert all spaces to tabs
Diffstat (limited to 'pgcommitfest/commitfest/widgets.py')
-rw-r--r-- | pgcommitfest/commitfest/widgets.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pgcommitfest/commitfest/widgets.py b/pgcommitfest/commitfest/widgets.py index 0475001..ee2df3d 100644 --- a/pgcommitfest/commitfest/widgets.py +++ b/pgcommitfest/commitfest/widgets.py @@ -2,8 +2,8 @@ from django.forms import TextInput 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 + ' <button class="btn btn-default attachThreadButton" id="btn_%s">Find thread</button>' % name - return mark_safe(html) + def render(self, name, value, attrs=None): + attrs['class'] += ' threadpick-input' + html = super(ThreadPickWidget, self).render(name, value, attrs) + html = html + ' <button class="btn btn-default attachThreadButton" id="btn_%s">Find thread</button>' % name + return mark_safe(html) |