Hi Peter
I created 2 templates, to be called from the view:
1. The first one, just to show the name, as I want to display "Welcome ...."
and wrote it as:
@{template('welcome', model)}
<!--
{name}
-->
The output had been duplicated, and appeared as:
HasanHasan
2. The used the same in html tag, and it worked perfectly, the code was:
@{template('user', model)};
<!--
<option value={id}>{name}</option>
-->
Kindly advise how to fix the first one.
Regards,
Hasan