diff --git a/web/app.py b/web/app.py index 9c77a84..7a0d2bf 100644 --- a/web/app.py +++ b/web/app.py @@ -1849,12 +1849,17 @@ def create_app(): content = '''

Saved home page.

Redirecting in 3 seconds.

''' + elif request.args.get('tos') == 'save': + misc_edit_field_1('terms_of_service', request.form.get('tos_text'), None, None, None, None, None, None, None, None) + content = '''

Saved terms of service.

+

Redirecting in 3 seconds.

+ ''' else: email_text = Misc.query.filter_by(field_1='approval_email').first() flash_text = Misc.query.filter_by(field_1='approval_flash').first() home_text = Misc.query.filter_by(field_1='home_page').first() - print(home_text) + tos_text = Misc.query.filter_by(field_1='terms_of_service').first() content = '''

 

@@ -1907,6 +1912,25 @@ def create_app():
+

 

+ +

 

+ +
+ + + + + + + + + +

+

 

+

+
+

 

''' return render_template('flask_user_layout.html', markup_content = Markup(content))