about summary refs log tree commit diff
path: root/uploader/templates/phenotypes/add-phenotypes-base.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-04-28 16:53:28 -0500
committerFrederick Muriuki Muriithi2025-04-28 16:53:28 -0500
commit5f686da1ad6814657b7a699dcafdf58ca3521e33 (patch)
tree184f537b5b74a929829b36391f0394c8fc261553 /uploader/templates/phenotypes/add-phenotypes-base.html
parentcbaceb34a742047ff43e27b176befd34ef18549a (diff)
downloadgn-uploader-5f686da1ad6814657b7a699dcafdf58ca3521e33.tar.gz
Provide correct redirection uri, and data.
Diffstat (limited to 'uploader/templates/phenotypes/add-phenotypes-base.html')
-rw-r--r--uploader/templates/phenotypes/add-phenotypes-base.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/uploader/templates/phenotypes/add-phenotypes-base.html b/uploader/templates/phenotypes/add-phenotypes-base.html
index b05a194..a7aaeb0 100644
--- a/uploader/templates/phenotypes/add-phenotypes-base.html
+++ b/uploader/templates/phenotypes/add-phenotypes-base.html
@@ -46,7 +46,14 @@
       <legend>Publication Information</legend>
       <input type="hidden" name="publication-id" id="txt-publication-id" />
       <span class="form-text text-muted">
-        Select a publication for your data</span>
+        Select a publication for your data. <br />
+        Can't find a publication you can use? Go ahead and
+        <a href="{{url_for(
+                 'publications.create_publication',
+                 return_to='species.populations.phenotypes.add_phenotypes',
+                 species_id=species.SpeciesId,
+                 population_id=population.Id,
+                 dataset_id=dataset.Id)}}">create a new publication</a>.</span>
       <table id="tbl-select-publication" class="table compact stripe">
         <thead>
           <tr>