vitmalina/w2ui — pull request #403 by dunmaksim (2014-02-05 13:12:09+00:00)
Title: Fixed html input type for password fields

Before i write:

var loginForm = $().w2form({
name: "LoginForm",
url: "/auth",
fields: [
{name: "login", type: "text", required: "true", html: {caption: "Логин", span: 3}},
{name: "pass", type: "password", required: "true", html: {caption: "Пароль", span: 3, attr: "type='password'"}}
],
actions: {
"Вход": function () {
console.log("Вход");
}
}
});
$("#authform").w2render(loginForm);

In html code i see 'input type = "text"', not "password"! My passwords not hided in HTML-forms!