Skip to content

Commit 4a79350

Browse files
committed
fixed registration form
1 parent bcde93c commit 4a79350

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Postgres.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ def registration_form(self, Vars, Picture):
157157
"office-address", "home-address", "phone",
158158
"emergency-contact", "Other", "research", "Bio", "Picture",
159159
"ehs_training", "human_studies_training", "extra", "Hidden")
160-
VALUES ("%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s",
161-
"%s", "%s", "%s", "%s", "%s", "%s", "%s", "%s", 'TRUE')""" % (
160+
VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s,
161+
%s, %s, %s, 'TRUE')""", (
162162
Vars["firstname"] + ' ' + Vars["lastname"],
163163
Vars["startdate"], Vars["username"], Vars["lcp_username"],
164164
Vars["id"], Vars["email"], Vars["office-address"],

templates/admin/datathons.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<strong>{{ error }}</strong>
2020
</div>
2121
{% endif%}
22-
{% if Success %}
22+
{% if success %}
2323
<div class="alert alert-success alert-dismissible fade show" role="alert">
2424
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
2525
<span aria-hidden="true">&times;</span>

templates/info/registration_form.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h3 style="text-align:center;">Laboratory for Computational Physiology <br> Regi
5454
<div class="col-lg-10 col-md-10 col-sm-10"><input name="id" class="form-control" size="15"></div>
5555
</div>
5656
<div class="form-group row">
57-
<div class="col-lg-2 col-md-2 col-sm-2"><font size="3"><b>LCP username:</b></font></div>
57+
<div class="col-lg-2 col-md-2 col-sm-2"><font size="3"><b>LCP username (desired):</b></font></div>
5858
<div class="col-lg-10 col-md-10 col-sm-10"><input name="lcp_username" class="form-control" size="40"></div>
5959
</div>
6060
<div class="form-group row">

0 commit comments

Comments
 (0)