Skip to content

Commit

Permalink
trying typahead - same brokenness
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo van der Wijk committed Apr 7, 2014
1 parent 948b199 commit 5722052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wheelcms_axle/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def render(self, name, value, attrs=None):

final_attrs = self.build_attrs(attrs, type=self.input_type, name=name)
# return mark_safe(u'<tags model="foo"></tags>')
return mark_safe(u'<tags model="[\'ivo\', \'bar\']" %s></tags>' % flatatt(final_attrs))
return mark_safe(u'<tags model="[\'ivo\', \'bar\']" src="b for b in [\'aaaaaa\', \'aaaaaa1\', \'aaaaaa2\', \'aaaaa3a\', \'aaaaaa4\', \'aa5aaaa\', \'aaaa6aa\', \'bbbbbb\', \'cccccc\', \'dddddd\', \'eeeeee\', \'ffffff\']" %s></tags>' % flatatt(final_attrs))

class SubcontentField(forms.MultipleChoiceField):
"""
Expand Down

0 comments on commit 5722052

Please sign in to comment.