Project

General

Profile

Login view

Added by Marcelo Antunes over 4 years ago

There is some way that allows to change css classes from login button, and username and password lineedits from the authwidget?

regards


Replies (1)

RE: Login view - Added by Marcelo Antunes over 4 years ago

Already discovered.

You have to include css, js and messageresources on a createloginview method in your application.

On your template file use these placeholders bind the widgets:

user-name for username widget

password for password widget

remember-me for remember-me widget

login for login button

Then inside the placeholder include "class="your css classes"" to apply css classes

Example: ${password class="form-control form-control-lg"}

Replace the id from the label associated with the remember-me checkbox by "${id:binder of the checkbox}"

Example:

${remember-me class="custom-control-input"} (placeholder for remember-me checkbox)

your text

    (1-1/1)