Browse Source

Add mask to rg, titulo de eleitor and hora

pull/98/head
Eduardo Edson Batista Cordeiro Alves 9 years ago
parent
commit
cb4c068a81
  1. 3
      templates/base.html

3
templates/base.html

@ -228,6 +228,9 @@
$('.telefone').mask("(99) 9999-9999", {placeholder:"(__) ____ -____"}); $('.telefone').mask("(99) 9999-9999", {placeholder:"(__) ____ -____"});
$('.cpf').mask("000.000.000-00", {placeholder:"___.___.___-__"}); $('.cpf').mask("000.000.000-00", {placeholder:"___.___.___-__"});
$('.cep').mask("00000-000", {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"});
}); });
</script> </script>

Loading…
Cancel
Save