Update app.py
Browse files
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 |
|