diff options
Diffstat (limited to 'uploader/templates/phenotypes/edit-phenotype.html')
-rw-r--r-- | uploader/templates/phenotypes/edit-phenotype.html | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/uploader/templates/phenotypes/edit-phenotype.html b/uploader/templates/phenotypes/edit-phenotype.html index 0f267e4..f35b516 100644 --- a/uploader/templates/phenotypes/edit-phenotype.html +++ b/uploader/templates/phenotypes/edit-phenotype.html @@ -116,47 +116,47 @@ <h3 class="subheading">phenotype data</h3> <form id="frm-edit-phenotype-data" class="form-horizontal"> <div style="max-height: 23.37em;overflow-y: scroll;"> - <table class="table table-striped table-responsive table-form-table"> - <thead style="position: sticky; top: 0;"> - <tr> - <th>#</th> - <th>Sample</th> - <th>Value</th> - {%if population.Family in families_with_se_and_n%} - <th>Standard-Error</th> - <th>Number of Samples</th> - {%endif%} - </tr> - </thead> + <table class="table table-striped table-responsive table-form-table"> + <thead style="position: sticky; top: 0;"> + <tr> + <th>#</th> + <th>Sample</th> + <th>Value</th> + {%if population.Family in families_with_se_and_n%} + <th>Standard-Error</th> + <th>Number of Samples</th> + {%endif%} + </tr> + </thead> - <tbody> - {%for item in phenotype.data%} - <tr> - <td>{{loop.index}}</td> - <td>{{item.StrainName}}</td> - <td> - <input type="text" - name="value::{{item.DataId}}::{{item.StrainId}}" - value="{{item.value}}" - data-original-value="{{item.value}}" - class="form-control" /></td> - {%if population.Family in families_with_se_and_n%} - <td> - <input type="text" - name="se::{{item.DataId}}::{{item.StrainId}}" - value="{{item.error or ''}}" - data-original-value="{{item.error or ''}}" - class="form-control" /></td> - <td><input type="text" - name="n::{{item.DataId}}::{{item.StrainId}}" - value="{{item.count or ''}}" - data-original-value="{{item.count or "-"}}" + <tbody> + {%for item in phenotype.data%} + <tr> + <td>{{loop.index}}</td> + <td>{{item.StrainName}}</td> + <td> + <input type="text" + name="value::{{item.DataId}}::{{item.StrainId}}" + value="{{item.value}}" + data-original-value="{{item.value}}" class="form-control" /></td> - {%endif%} - </tr> - {%endfor%} - </tbody> - </table> + {%if population.Family in families_with_se_and_n%} + <td> + <input type="text" + name="se::{{item.DataId}}::{{item.StrainId}}" + value="{{item.error or ''}}" + data-original-value="{{item.error or ''}}" + class="form-control" /></td> + <td><input type="text" + name="n::{{item.DataId}}::{{item.StrainId}}" + value="{{item.count or ''}}" + data-original-value="{{item.count or "-"}}" + class="form-control" /></td> + {%endif%} + </tr> + {%endfor%} + </tbody> + </table> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> |