|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
BbErSeRkK Smarty Rookie
Joined: 04 Jan 2008 Posts: 14
|
Posted: Fri Jan 04, 2008 1:08 am Post subject: html radios custom function documentation needs extending |
|
|
http://www.smarty.net/manual/en/language.function.html.radios.php
Does not document the label_ids atribute
for the radio labels to have "for" attributes (i.e. to bind it to the radio button), it must contain the attribute
it is default set to false in the plugin file " function.html_radios.php "
The output in the examples shown is incorrect. it will not have "for=" in the label tag by default
the templates should be:
{html_radios name='id' options=$cust_radios
label_ids='true' selected=$customer_id separator='<br />'}
or the "for=" should be removed from the label tag in the output shown. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|