From: Diane Trout Date: Fri, 13 Aug 2010 23:51:32 +0000 (+0000) Subject: Reduce the size of the bioanalyzer summary text box X-Git-Tag: 0.4.5~21 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=fc6e95874b386ac41d40e8f6265cc81b731a6140 Reduce the size of the bioanalyzer summary text box to 3 lines. --- diff --git a/htsworkflow/frontend/samples/admin.py b/htsworkflow/frontend/samples/admin.py index 4b46a22..24dc645 100644 --- a/htsworkflow/frontend/samples/admin.py +++ b/htsworkflow/frontend/samples/admin.py @@ -218,7 +218,7 @@ class LibraryOptions(admin.ModelAdmin): # Override field attributes if db_field.name == "bioanalyzer_summary": print field.widget.attrs.items() - field.widget.attrs["rows"] = "5" + field.widget.attrs["rows"] = "3" return field class SpeciesOptions(admin.ModelAdmin):