[Jifty-commit] r715 - in jifty/trunk: lib/Jifty/Web/Form/Field
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Mar 20 22:24:57 EST 2006
Author: trs
Date: Mon Mar 20 22:24:57 2006
New Revision: 715
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Web/Form/Field/Text.pm
Log:
r9292 at wintermute: tom | 2006-03-20 22:04:33 -0500
Add the class 'text' to text fields
Modified: jifty/trunk/lib/Jifty/Web/Form/Field/Text.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field/Text.pm (original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field/Text.pm Mon Mar 20 22:24:57 2006
@@ -12,6 +12,9 @@
our $VERSION = 1;
-
+sub classes {
+ my $self = shift;
+ return join(' ', 'text', ($self->SUPER::classes));
+}
1;
More information about the Jifty-commit
mailing list