Skip to content

Commit

Permalink
fixed registration form
Browse files Browse the repository at this point in the history
  • Loading branch information
elfeto committed Mar 3, 2020
1 parent bcde93c commit 4a79350
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion templates/admin/datathons.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<strong>{{ error }}</strong>
</div>
{% endif%}
{% if Success %}
{% if success %}
<div class="alert alert-success alert-dismissible fade show" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
Expand Down
2 changes: 1 addition & 1 deletion templates/info/registration_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h3 style="text-align:center;">Laboratory for Computational Physiology <br> Regi
<div class="col-lg-10 col-md-10 col-sm-10"><input name="id" class="form-control" size="15"></div>
</div>
<div class="form-group row">
<div class="col-lg-2 col-md-2 col-sm-2"><font size="3"><b>LCP username:</b></font></div>
<div class="col-lg-2 col-md-2 col-sm-2"><font size="3"><b>LCP username (desired):</b></font></div>
<div class="col-lg-10 col-md-10 col-sm-10"><input name="lcp_username" class="form-control" size="40"></div>
</div>
<div class="form-group row">
Expand Down

0 comments on commit 4a79350

Please sign in to comment.