Skip to content

Commit

Permalink
Remove html helper to disable input fields
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Dec 1, 2017
1 parent a840c47 commit 96d3d27
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/galaxy/web/form_builder.py
Expand Up @@ -29,12 +29,6 @@ def __init__(self, name, value=None, label=None, **kwds):
self.optional = kwds.get('required', 'optional') == 'optional'
self.help = kwds.get('helptext')

def get_disabled_str(self, disabled=False):
if disabled:
return ' disabled="disabled"'
else:
return ''

def to_dict(self):
return {
'name' : self.name,
Expand Down

0 comments on commit 96d3d27

Please sign in to comment.