Skip to content

Commit

Permalink
Use placeholder for inputs which requires changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Dec 16, 2014
1 parent db1e61c commit dbb734b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/WMCore/ReqMgr/Web/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def json2table(jsondata, web_ui_map):
val = sel
elif isinstance(val, basestring):
if val.startswith('REPLACE-'):
val = '<input type="text" name="%s" value="%s" class="width-100 input-error replace">'\
val = '<input type="text" name="%s" placeholder="%s" class="width-100">'\
% (key, val)
elif len(val) < 80:
val = '<input type="text" name="%s" value="%s" class="width-100" />' % (key, val)
Expand Down

0 comments on commit dbb734b

Please sign in to comment.