|
|
@ -23,7 +23,7 @@ def input_field(context, type, name='', value='', multiple='', **kwargs): |
|
|
# set initial value for textbox |
|
|
# set initial value for textbox |
|
|
if type == "text" and value == '' and multiple != 'true': |
|
|
if type == "text" and value == '' and multiple != 'true': |
|
|
value = context.get(name, '') |
|
|
value = context.get(name, '') |
|
|
tag = ['<input type="' + type + '" name="' + name + '" value="' + value + '"'] |
|
|
|
|
|
|
|
|
tag = ['<input type="%s" name="%s" value="%s"' % (type, name, value)] |
|
|
|
|
|
|
|
|
tag = additional_attributes(tag, **kwargs) |
|
|
tag = additional_attributes(tag, **kwargs) |
|
|
|
|
|
|
|
|
|