[Jifty-commit] r3830 - Template-Declare/lib/Template/Declare

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Thu Aug 9 04:43:21 EDT 2007


Author: agentz
Date: Thu Aug  9 04:41:43 2007
New Revision: 3830

Modified:
   Template-Declare/lib/Template/Declare/Tags.pm

Log:
TD - multiple entry example for with(...)

Modified: Template-Declare/lib/Template/Declare/Tags.pm
==============================================================================
--- Template-Declare/lib/Template/Declare/Tags.pm	(original)
+++ Template-Declare/lib/Template/Declare/Tags.pm	Thu Aug  9 04:41:43 2007
@@ -284,13 +284,13 @@
 
 C<with> is an alternative way to specify attributes for a tag:
 
-    with ( id => 'greeting'), 
+    with ( id => 'greeting', class => 'foo' ),
         p { 'Hello, World wide web' };
 
 
 The standard way to do this is:
 
-    p { attr { id => 'greeting' };
+    p { attr { id => 'greeting', class => 'foo' }
         'Hello, World wide web' };
 
 


More information about the Jifty-commit mailing list