diff --git a/media/js/diagnosticos/diagnosticos_categorias_form.js b/media/js/diagnosticos/diagnosticos_categorias_form.js index de6f848..0d1d997 100644 --- a/media/js/diagnosticos/diagnosticos_categorias_form.js +++ b/media/js/diagnosticos/diagnosticos_categorias_form.js @@ -78,6 +78,10 @@ $('#page').live('pageinit', function(event){ }); + // Mascaras de documentos e telefones + $("#id_cnpj").mask("99.999.999/9999-99"); + $(".phone input:text").mask("(99) 9999-9999"); + $('input[schema_to_open]').each(function () { schema = $(this); schema_to_open = $("#" + schema.attr('schema_to_open')); diff --git a/sigi/templates/base_mobile.html b/sigi/templates/base_mobile.html index 225f945..c4fba4a 100644 --- a/sigi/templates/base_mobile.html +++ b/sigi/templates/base_mobile.html @@ -8,15 +8,16 @@ {% endblock titulo %} {% block media %} - + - - + + + {% endblock media %}