diff options
author | Frederick Muriuki Muriithi | 2024-04-08 09:26:17 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-04-08 09:26:17 +0300 |
commit | d904748a0c8c35d937c6e56fadc7ba52b9f43634 (patch) | |
tree | bdf60945cf7a3346123237b156758308bd2f7078 /qc_app/templates | |
parent | 7ab16e0fcbc2efe2f446adc52a9df3a900d8561d (diff) | |
download | gn-uploader-d904748a0c8c35d937c6e56fadc7ba52b9f43634.tar.gz |
bug: Handle IntegrityError: Studies cannot have same name.
Diffstat (limited to 'qc_app/templates')
-rw-r--r-- | qc_app/templates/rqtl2/select-probeset-study-id.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qc_app/templates/rqtl2/select-probeset-study-id.html b/qc_app/templates/rqtl2/select-probeset-study-id.html index 23bbbf0..e9a5c13 100644 --- a/qc_app/templates/rqtl2/select-probeset-study-id.html +++ b/qc_app/templates/rqtl2/select-probeset-study-id.html @@ -1,5 +1,5 @@ {%extends "base.html"%} -{%from "flash_messages.html" import flash_messages, flash_all_messages%} +{%from "flash_messages.html" import flash_messages %} {%block title%}Upload R/qtl2 Bundle{%endblock%} @@ -12,13 +12,12 @@ <p>In this page, you can either select from a existing dataset:</p> </div> -{{flash_all_messages()}} - <form method="POST" action="{{url_for('upload.rqtl2.select_probeset_study', species_id=species.SpeciesId, population_id=population.Id)}}" id="frm:select-probeset-study"> <legend class="heading">Select from existing ProbeSet studies</legend> + {{flash_messages("error-rqtl2-select-probeset-study")}} <input type="hidden" name="species_id" value="{{species.SpeciesId}}" /> <input type="hidden" name="population_id" @@ -66,6 +65,8 @@ id="frm:create-probeset-study"> <legend class="heading">Create new ProbeSet study</legend> + {{flash_messages("error-rqtl2-create-probeset-study")}} + <input type="hidden" name="species_id" value="{{species.SpeciesId}}" /> <input type="hidden" name="population_id" value="{{population.InbredSetId}}" /> |