IsaacKerson commited on
Commit
24713d1
1 Parent(s): 3a757df

fix form error

Browse files
Files changed (1) hide show
  1. pages/join.py +6 -6
pages/join.py CHANGED
@@ -9,11 +9,11 @@ from pages.utils import *
9
  st.markdown("## Join")
10
 
11
  with st.form("join_form"):
12
- first_name = form.text_input("First Name")
13
- last_name = form.text_input("Last Name")
14
- user_name = form.text_input("User Name")
15
- password1 = form.text_intput("Password", type="password")
16
- password2 = form.text_input("Confirm Password", type="password")
17
- submitted = form.form_submit_button("Submit")
18
  if password1.strip() != password2.strip():
19
  st.warning("The passwords do not match.")
 
9
  st.markdown("## Join")
10
 
11
  with st.form("join_form"):
12
+ first_name = st.text_input("First Name")
13
+ last_name = st.text_input("Last Name")
14
+ user_name = st.text_input("User Name")
15
+ password1 = st.text_intput("Password", type="password")
16
+ password2 = st.text_input("Confirm Password", type="password")
17
+ submitted = st.form_submit_button("Submit")
18
  if password1.strip() != password2.strip():
19
  st.warning("The passwords do not match.")