I want to override the login page (com_users/login). I want to add new class to the 2 fields (username and password) and also if possible to change the structure from
<label></label>
<input>
to
<label><input><label>
But in the templates/template/html/com_users/login/default_login.php
they are called like this :
echo $ this-> form-> renderFieldset ('credentials');
I found that the fields are loaded from this file /components/com_users/models/forms/login.xml
I tried to copy that file to
templates/template/code/com_users/models/forms/login.xml
but still doesn't work.
Anybody can help me?