Browse Source

DIV-395 - Fixed YSOD error

pull/160/head
Mike Olund 8 years ago
parent
commit
a9d608c84f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      edivorce/apps/core/templatetags/input_field.py

+ 1
- 1
edivorce/apps/core/templatetags/input_field.py View File

@ -23,7 +23,7 @@ def input_field(context, type, name='', value='', multiple='', **kwargs):
# set initial value for textbox
if type == "text" and value == '' and multiple != 'true':
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)


Loading…
Cancel
Save