From 4a79350a2d1e405d22a772c17e9b61518deb1494 Mon Sep 17 00:00:00 2001 From: Felipe Torres Date: Tue, 3 Mar 2020 13:35:47 -0600 Subject: [PATCH] fixed registration form --- Postgres.py | 4 ++-- templates/admin/datathons.html | 2 +- templates/info/registration_form.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Postgres.py b/Postgres.py index d30600b..9579dc8 100755 --- a/Postgres.py +++ b/Postgres.py @@ -157,8 +157,8 @@ def registration_form(self, Vars, Picture): "office-address", "home-address", "phone", "emergency-contact", "Other", "research", "Bio", "Picture", "ehs_training", "human_studies_training", "extra", "Hidden") - VALUES ("%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", - "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", 'TRUE')""" % ( + VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, + %s, %s, %s, 'TRUE')""", ( Vars["firstname"] + ' ' + Vars["lastname"], Vars["startdate"], Vars["username"], Vars["lcp_username"], Vars["id"], Vars["email"], Vars["office-address"], diff --git a/templates/admin/datathons.html b/templates/admin/datathons.html index 787fa03..3b528ce 100644 --- a/templates/admin/datathons.html +++ b/templates/admin/datathons.html @@ -19,7 +19,7 @@ {{ error }} {% endif%} - {% if Success %} + {% if success %}
-
LCP username:
+
LCP username (desired):