about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/edit_phenotype.html16
1 files changed, 7 insertions, 9 deletions
diff --git a/wqflask/wqflask/templates/edit_phenotype.html b/wqflask/wqflask/templates/edit_phenotype.html
index a970acbc..e7a44bd9 100644
--- a/wqflask/wqflask/templates/edit_phenotype.html
+++ b/wqflask/wqflask/templates/edit_phenotype.html
@@ -65,7 +65,7 @@
     {% endif %}
     <form id="edit-form" class="container form-horizontal" method="post" action="/datasets/{{dataset_id}}/traits/{{ publish_xref.id_ }}?resource-id={{ resource_id }}" enctype='multipart/form-data'>
 	<div class="form-group">
-	    <div class="controls center-block" style="width: max-content;">
+	    <div class="controls left-block col-sm-8 col-lg-8" style="width: max-content;">
 		<input name="inbred-set-id" class="changed" type="hidden" value="{{ publish_xref.inbred_set_id }}"/>
 		<input name="phenotype-id" class="changed" type="hidden" value="{{ publish_xref.phenotype_id }}"/>
 		<input name="comments" class="changed" type="hidden" value="{{ publish_xref.comments }}"/>
@@ -224,7 +224,7 @@
                 <input name="old_pages" class="changed" type="hidden" value="{{ publication.pages |default('', true) }}"/>
             </div>
         </div>
-        <div style="margin-left: 13%;">
+        <div>
             <a href="/datasets/{{ publish_xref.id_ }}/traits/{{ publish_xref.phenotype_id }}/csv?resource-id={{ resource_id }}" class="btn btn-link btn-sm">
                 Click to Download CSV Sample Data
             </a>
@@ -237,14 +237,12 @@
                 Note: Current allowable case-attributes are: {{ ', '.join(headers) }}.
 		<a href="{{url_for('metadata_edit.show_case_attribute_columns')}}" target="_blank">You can find these case-attribute  descriptions here.</a>
             </p>
-        </div>
-	<div class="form-group">
-	    <div class="controls center-block" style="width: max-content;">
-		<input name="inbred-set-id" class="changed" type="hidden" value="{{ publish_xref.inbred_set_id }}"/>
-		<input name="phenotype-id" class="changed" type="hidden" value="{{ publish_xref.phenotype_id }}"/>
-		<input name="comments" class="changed" type="hidden" value="{{ publish_xref.comments }}"/>
+	</div>
+
+	<div class="form-group col-xs-7">
+	    <div class="controls left-block col-sm-8 col-lg-8" style="width: max-content;">
 		<input type="submit" style="width: 125px; margin-right: 25px;" class="btn btn-success form-control col-xs-2 changed" value="Submit Change">
-            </div>
+	    </div>
 	</div>
     </form>
 </div>