Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
7faae029
Commit
7faae029
authored
May 12, 2014
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A little bit of PEP-8
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
a3ab4d6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
weblate/bootstrap_forms.py
weblate/bootstrap_forms.py
+3
-2
No files found.
weblate/bootstrap_forms.py
View file @
7faae029
...
...
@@ -35,7 +35,8 @@ HELP_TEMPLATE = '<p class="help-block">%s</p>'
class
BootstrapErrorList
(
ErrorList
):
def
as_ul
(
self
):
if
not
self
:
return
''
if
not
self
:
return
''
return
format_html_join
(
''
,
u'<p class="text-danger">{0}</p>'
,
...
...
@@ -67,7 +68,7 @@ class BootstrapForm(Form):
normal_row
=
DIV_TEMPLATE
,
error_row
=
u'%s'
,
row_ender
=
'</div>'
,
help_text_html
=
HELP_TEMPLATE
,
help_text_html
=
HELP_TEMPLATE
,
errors_on_separate_row
=
False
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment