<input tal:repeat="item post" tal:attributes="name repeat/item/key;
value php: item[(repeat.item.key)]"/>

This seems to give the first character of the information in the items
array.


Output:

<input name="task" value="v"/>
<input name="display" value="s"/>
<input name="display-next" value="s"/>
<input name="username" value="u"/>
<input name="email_address" value="e"/>
<input name="password" value="t"/>
<input name="birthday" value="1"/>
<input name="cell_phone" value="("/>
<input name="city" value="M"/>
<input name="state" value="F"/>
<input name="country" value="U"/>
<input name="postal_code" value="3"/>





_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to