Author: sevein
Date: Mon Nov 16 18:40:24 2009
New Revision: 3900

Log:
Modify render_label to show validation error messages.

Modified:
   trunk/apps/qubit/lib/helper/QubitHelper.php

Modified: trunk/apps/qubit/lib/helper/QubitHelper.php
==============================================================================
--- trunk/apps/qubit/lib/helper/QubitHelper.php Mon Nov 16 17:12:24 2009        
(r3899)
+++ trunk/apps/qubit/lib/helper/QubitHelper.php Mon Nov 16 18:40:24 2009        
(r3900)
@@ -74,6 +74,7 @@
   return <<<EOF
 <div class="form-item">
   {$field->renderLabel()}
+  {$field->renderError()}
   $div
   {$field->render($options)}
   {$field->renderHelp()}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to