diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/html.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/html.lua b/lib/html.lua index 312b0fb..205a8e0 100644 --- a/lib/html.lua +++ b/lib/html.lua @@ -87,7 +87,7 @@ local generic_input = function ( field_type, v ) return nil end - local str = string.format ( '<input type="%s" ', field_type ) + local str = string.format ( '<input class="%s" type="%s" ', field_type,field_type ) for i,k in ipairs ( { "name", "size", "checked", "maxlength", |