aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-05-10 19:22:19 +0000
committerzsloan2022-05-10 19:39:27 +0000
commitc24fd5b3d18ac663efe2944f1fab0355fea2eee5 (patch)
treed9510d329bd2a52f7375ce84e306446b1c9454e8
parentc2ddbddf772cfbf584ca45a9f1266502e16eb8f9 (diff)
downloadgenenetwork2-c24fd5b3d18ac663efe2944f1fab0355fea2eee5.tar.gz
Add user email to form so it can be included in collection export metadata
-rw-r--r--wqflask/wqflask/templates/collections/view.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html
index 93c0b236..a455904c 100644
--- a/wqflask/wqflask/templates/collections/view.html
+++ b/wqflask/wqflask/templates/collections/view.html
@@ -81,6 +81,7 @@
<input type="hidden" name="export_data" id="export_data" value="">
<input type="hidden" name="file_name" id="file_name" value="collection_table">
<input type="hidden" name="collection_name_export" value="{{ uc.name }}">
+ <input type="hidden" name="user_email_export" value="{% if g.user_session.user_email %}{{ g.user_session.user_email }}{% else %}N/A{% endif %}">
<button class="btn btn-default" id="export_traits">Download</button>
<button class="btn btn-default" id="export_collection">Export Collection</button>
<input type="text" id="searchbox" class="form-control" style="width: 200px; display: inline; padding-bottom: 9px;" placeholder="Search Table For ...">