Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jianaijun committed Jun 25, 2013
1 parent a1b9ff4 commit ffcd348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/z3c/form/browser/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
class WidgetLayoutSupport(object):
"""Widget layout support"""

def wrapCSSClass(self, klass, pattern='s(class)%'):
def wrapCSSClass(self, klass, pattern='%(class)s'):
"""Return a list of css class names wrapped with given pattern"""
if klass is not None and pattern is not None:
return [pattern % {'class': k} for k in klass.split()]
Expand Down

0 comments on commit ffcd348

Please sign in to comment.