From 18d4ca0ae9500f3fee81fa6e5b139d8e1afa92d0 Mon Sep 17 00:00:00 2001 From: ailsoncgt Date: Wed, 28 Sep 2016 01:28:37 -0300 Subject: [PATCH] cpf mask in register user #14 --- core/templates/register_user.html | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/core/templates/register_user.html b/core/templates/register_user.html index 52e178c..4215c7a 100644 --- a/core/templates/register_user.html +++ b/core/templates/register_user.html @@ -44,6 +44,8 @@ + {% elif field.auto_id == 'id_cpf' %} + {% render_field field class='form-control' onkeypress='campoNumerico(this,event); formatarCpf(this,event);' %} {% else %} {% render_field field class='form-control' %} {{ field.help_text }} @@ -79,4 +81,5 @@
+ {% endblock %} -- libgit2 0.21.2