jaothan commited on
Commit
6a2f0b4
·
verified ·
1 Parent(s): a20aa1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -118,8 +118,9 @@ def send_email(dataframe):
118
  except Exception as e:
119
  st.error(f"Error sending responses: {e}")
120
 
121
- # Show submit button only on last section
122
  if selected_section == "Data & Technology":
 
123
  if st.button("Submit Questionnaire"):
124
  send_email(df)
125
 
 
118
  except Exception as e:
119
  st.error(f"Error sending responses: {e}")
120
 
121
+ # Show submit button only on last section with red styling
122
  if selected_section == "Data & Technology":
123
+ st.markdown("<style>div.stButton > button:first-child { background-color: red; color: white; }</style>", unsafe_allow_html=True)
124
  if st.button("Submit Questionnaire"):
125
  send_email(df)
126