Skip to content

Instantly share code, notes, and snippets.

@sorki
Created July 15, 2010 14:32
Show Gist options
  • Save sorki/477011 to your computer and use it in GitHub Desktop.
Save sorki/477011 to your computer and use it in GitHub Desktop.
From c34aa1bc6858bffc1d3db0470e4f33c4428f6c31 Mon Sep 17 00:00:00 2001
From: Richard Marko <[email protected]>
Date: Thu, 15 Jul 2010 16:16:56 +0200
Subject: [PATCH] Convert css class of PasswordInput widget
---
uni_form/templatetags/uni_form_field.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/uni_form/templatetags/uni_form_field.py b/uni_form/templatetags/uni_form_field.py
index 422a8e3..d4b518d 100644
--- a/uni_form/templatetags/uni_form_field.py
+++ b/uni_form/templatetags/uni_form_field.py
@@ -4,7 +4,8 @@ register = template.Library()
class_converter = {
"textinput":"textinput textInput",
- "fileinput":"fileinput fileUpload"
+ "fileinput":"fileinput fileUpload",
+ "passwordinput":"textinput textInput",
}
@register.filter
--
1.7.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment