diff --git a/app/templates/components/textbox.html b/app/templates/components/textbox.html index 480d773ea..e849a6bce 100644 --- a/app/templates/components/textbox.html +++ b/app/templates/components/textbox.html @@ -7,7 +7,6 @@ help_link_text=None, width='2-3', suffix=None, - disabled=False, safe_error_message=False, rows=8 ) %} @@ -25,20 +24,11 @@ {% endif %} - {% if disabled %} -
{{ field(**{ - 'class': 'form-control form-control-{} textbox-highlight-textbox'.format(width) if highlight_tags else 'form-control form-control-{} {}'.format(width, 'textbox-right-aligned' if suffix else ''), - 'data-module': 'highlight-tags' if highlight_tags else '', - 'disabled': 'disabled' - }) }} -
- {% else %} - {{ field(**{ - 'class': 'form-control form-control-{} textbox-highlight-textbox'.format(width) if highlight_tags else 'form-control form-control-{} {}'.format(width, 'textbox-right-aligned' if suffix else ''), - 'data-module': 'highlight-tags' if highlight_tags else '', - 'rows': rows|string - }) }} - {% endif %} + {{ field(**{ + 'class': 'form-control form-control-{} textbox-highlight-textbox'.format(width) if highlight_tags else 'form-control form-control-{} {}'.format(width, 'textbox-right-aligned' if suffix else ''), + 'data-module': 'highlight-tags' if highlight_tags else '', + 'rows': rows|string + }) }} {% if suffix %} {{ suffix }} {% endif %}