aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/views.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 38c56b71..81ccaf7d 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -399,6 +399,16 @@ def submit_trait_form():
version=GN_VERSION)
+@app.route("/edit_trait_form")
+def edit_trait_page():
+ species_and_groups = get_species_groups()
+ return render_template(
+ "edit_trait.html",
+ species_and_groups=species_and_groups,
+ gn_server_url=GN_SERVER_URL,
+ version=GN_VERSION)
+
+
@app.route("/create_temp_trait", methods=('POST',))
def create_temp_trait():
logger.info(request.url)