From cb4c068a8183c4502ba29776b61bf8e4c6e8ebe2 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Fri, 8 Jan 2016 09:58:27 -0200 Subject: [PATCH] Add mask to rg, titulo de eleitor and hora --- templates/base.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/base.html b/templates/base.html index 9a6170e88..983aef960 100644 --- a/templates/base.html +++ b/templates/base.html @@ -228,6 +228,9 @@ $('.telefone').mask("(99) 9999-9999", {placeholder:"(__) ____ -____"}); $('.cpf').mask("000.000.000-00", {placeholder:"___.___.___-__"}); $('.cep').mask("00000-000", {placeholder:"_____-___"}); + $('.rg').mask("0.000.000", {placeholder:"_.___.___"}); + $('.titulo_eleitor').mask("0000.0000.0000.0000", {placeholder:"____.____.____.____"}); + $('.hora').mask("00:00", {placeholder:"hh:mm"}); });