[%- USE T8 %]
+[%- USE P %]
[%- USE HTML %][%- USE L -%][%- USE LxERP -%]
<center>
<form method="post" name="loginscreen" action="controller.pl" target="_top" class="col s12">
<div class="row">
- <div class="input-field col s12">
- [% L.input_tag('{AUTH}login', FORM.$auth_login, id='auth_login', class='initial_focus validate', label=LxERP.t8('Login Name')) %]
- <label for='auth_login'>[% 'Login Name' | $T8 %]</label>
- </div>
+ [% P.M.input_tag('{AUTH}login', FORM.$auth_login, id='auth_login', class='initial_focus validate col s12', label=LxERP.t8('Login Name')) %]
</div>
<div class="row">
- <div class="input-field col s12">
- [% L.input_tag('{AUTH}password', '', type='password', id='auth_password', class='validate', label=LxERP.t8('Password')) %]
- <label for='auth_password'>[% 'Password' | $T8 %]</label>
- </div>
+ [% P.M.input_tag('{AUTH}password', '', type='password', id='auth_password', class='validate col s12', label=LxERP.t8('Password')) %]
</div>
<div class="row">
- <div class="input-field col s12">
- [% L.select_tag('{AUTH}client_id', SELF.clients, id='auth_client_id', title_key='name', default=SELF.default_client_id) %]
- <label for='auth_client_id'>[% 'Client' | $T8 %]</label>
- </div>
+ [% P.M.select_tag('{AUTH}client_id', SELF.clients, id='auth_client_id', class='col s12', title_key='name', default=SELF.default_client_id) %]
</div>
-
<div class="row">
[% L.hidden_tag("action", "LoginScreen/login") %]
- <button type='submit' name='btn_login' class='col s12 btn btn-large waves-effect'>Login</button>
+ [% P.M.submit_tag("btn_login", "Login", class="col s12", large=1) %]
</div>
</form>