From 4267943d45e2330d40a5c22c2021edd248e2fc5f Mon Sep 17 00:00:00 2001 From: Pro100ser Date: Fri, 13 Mar 2020 23:39:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D0=BB=D0=B0=D0=B4=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B2=D0=B2=D0=BE=D0=B4=20=D1=81=20=D1=84=D0=BE=D1=80=D0=BC?= =?UTF-8?q?=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 5 +- templates/registration.html | 120 ++++++++++++++++++------------------ 2 files changed, 62 insertions(+), 63 deletions(-) diff --git a/__init__.py b/__init__.py index 0fdbfa6..862e609 100644 --- a/__init__.py +++ b/__init__.py @@ -15,8 +15,8 @@ def index(): def register(): if request.method == "POST": - UserLogin = request.form['login'] - UserPass = request.form['password'] + UserLogin = request.form['UserLogin'] + UserPass = request.form['UserPass'] #db.session.add(UserLogin, UserPass) #db.session.commit() @@ -24,6 +24,7 @@ def register(): #return redirect(url_for("")) print(UserLogin, ' ', UserPass) + # return страница с контентом return render_template("registration.html") diff --git a/templates/registration.html b/templates/registration.html index 10e89c6..d95a2f2 100644 --- a/templates/registration.html +++ b/templates/registration.html @@ -19,10 +19,6 @@

J.a.r.v.i.s

- - - -
-
-
-
- - - - - -
-
-
-
-
-

- Пол -

-
- - +
+
+
+
+ + + + + +
+
+
+
+
+

+ Пол +

+
+ + +
+
+
+
-
-
-
-
+
-
+