+from webhelpers.html.secure_form import *
+
+from webhelpers.pylonslib import Flash as _Flash
+
+
+def currency(name, value, *args, **kwargs):
+ if 'class_' not in kwargs:
+ kwargs['class_'] = ''
+ kwargs['class_'] += 'currency'
+ value = "%0.2f" % (int(value) / 100.)
+ return text(name, value, *args, **kwargs)