Hello all !!
I have a simple question : how to add a form in a template ?
So I have this code working well :
var infos = new Ext.Component({
title: 'Infos',
cls: 'infos',
iconCls: 'user',
scroll: 'vertical',
tpl: [
'<tpl for=".">',
'<p>Utilisateur : '+utilisateur.loginUtilisateur+'</p>',
'</tpl>'
]
});
I want to add a form button in the tpl.
How can I do that ?
thanks !

