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):