Thanks for the information. But if you would add how to grab the fields from the $Form variable and then render them into the custom layout e.g.
<div class="row">
<div class="md-col-6">
EmailField
</div>
<div class="md-col-6">
PasswordField
</div>
</div>
I hope someone understand my question or requirement.
Actually the $Form draws the default template for the form but don't know which file is responsible to render this....
Cheers,
Naveed.