Skip to content

Commit

Permalink
Add a template for the ImageButton.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Aug 27, 2013
1 parent 6042727 commit 9804866
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tw2/forms/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ class ImageButton(twc.Link, InputField):
default=None)
alt = twc.Param('Alternate text', attribute=True, default='')
src = twc.Variable(attribute=True)
template = "tw2.forms.templates.input_field"

def prepare(self):
super(ImageButton, self).prepare()
Expand Down

0 comments on commit 9804866

Please sign in to comment.