[Jifty-commit] r937 - in jifty/trunk: lib/Jifty/Web/Form

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Apr 26 20:40:35 EDT 2006


Author: trs
Date: Wed Apr 26 20:40:34 2006
New Revision: 937

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Web/Form/Field.pm

Log:
 r10109 at zot:  tom | 2006-04-26 20:39:52 -0400
 Make sure there are no spaces if there is no content


Modified: jifty/trunk/lib/Jifty/Web/Form/Field.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field.pm	Wed Apr 26 20:40:34 2006
@@ -505,9 +505,7 @@
     return unless $self->action;
 
     Jifty->web->out(
-qq!<span class="error @{[$self->classes]}" id="@{[$self->action->error_div_id($self->name)]}">
-      @{[  $self->action->result->field_error( $self->name ) || '']}
-    </span>\n!
+qq!<span class="error @{[$self->classes]}" id="@{[$self->action->error_div_id($self->name)]}">@{[  $self->action->result->field_error( $self->name ) || '']}</span>\n!
     );
     return '';
 }


More information about the Jifty-commit mailing list