Re: [SMARTY] assign

From: Date: Thu, 08 Jan 2004 15:34:46 +0000
Subject: Re: [SMARTY] assign
References: 1 2 3 4 5  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10798@lists.php.net to get a copy of this message
Hi!
Actually, if you are only going to be displaying the errors for one parameter at any given time, I would keep the template logic simpler and assign only what is needed:
I have a little template which I use to show one input element. And I pass to this only the name, label, additional attributes. And I pass the errors, and values to the main template, which use this little template. Felho

« previous php.smarty.general (#10798) next »