From fb77cd7a7a25c0a43629be29e75752e6c185f2a7 Mon Sep 17 00:00:00 2001 From: Ferry Boender Date: Fri, 15 May 2015 09:06:40 +0200 Subject: [PATCH] Removed dead code. --- src/scriptform.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/scriptform.py b/src/scriptform.py index 4056d5f..30a2c05 100755 --- a/src/scriptform.py +++ b/src/scriptform.py @@ -791,25 +791,9 @@ class ScriptFormWebApp(WebAppHandler): if not self.auth(): return - field_tpl = { - "string": u'', - "number": u'', - "integer": u'', - "float": u'', - "date": u'', - "file": u'', - "password": u'', - "text": u'', - "select": u'', - "checkbox": u'', - "radio": u'{title}
', - } - fr = FormRender(None) def render_field(field, errors): - tpl = field_tpl[field['type']] - params = { 'name': field['name'], 'classes': [],