My Xml:
<div class="TextAlignSt">
<span onclick="register_popup(user_data.name,'1');" id="login_name">
<t t-esc="user_data.name"></t>
</span>
<i>
<t t-foreach="group_data" t-as="i">
<t t-if="i=='Lab Manager'">
<t t-esc="i"></t>
</t>
<t t-if="i=='Client'">
<t t-esc="i"></t>
</t>
<t t-if="i=='Lab Clerk'">
<t t-esc="i"></t>
</t>
</t>
</i>
</div>
How to pass username from above function
Thanks in advance..