Development

This commit is contained in:
Matthew Grotke 2026-06-10 20:00:35 -04:00
parent c30ba58e8f
commit 9e87212f4f
3 changed files with 2 additions and 4 deletions

View file

@ -58,8 +58,6 @@
}, },
{ {
"type": "button_primary", "type": "button_primary",
"action": "/action/accountcreate/form_create",
"method": "post",
"text": "Create Account", "text": "Create Account",
"class": "btn-full create-account-btn", "class": "btn-full create-account-btn",
"disabled": true "disabled": true

View file

@ -5,6 +5,6 @@ import config_utils
def collect_tokens(cfg): def collect_tokens(cfg):
tokens = config_utils.collect_layout_tokens(cfg) tokens = config_utils.collect_layout_tokens(cfg)
blank = [{'value': '', 'label': '-- Select timezone --'}] blank = [{'value': '', 'label': '-- Select Timezone --'}]
tokens['TIMEZONE_OPTIONS'] = json.dumps(blank + [{'value': tz, 'label': tz} for tz in sanitize.VALID_TIMEZONES]) tokens['TIMEZONE_OPTIONS'] = json.dumps(blank + [{'value': tz, 'label': tz} for tz in sanitize.VALID_TIMEZONES])
return tokens return tokens

View file

@ -6,7 +6,7 @@ import config_utils
def collect_tokens(cfg): def collect_tokens(cfg):
tokens = config_utils.collect_layout_tokens(cfg) tokens = config_utils.collect_layout_tokens(cfg)
blank = [{'value': '', 'label': '-- Select timezone --'}] blank = [{'value': '', 'label': '-- Select Timezone --'}]
tokens['PREF_EMAIL'] = session.get('email_address', '') tokens['PREF_EMAIL'] = session.get('email_address', '')
tokens['PREF_TIMEZONE'] = '' tokens['PREF_TIMEZONE'] = ''
tokens['TIMEZONE_OPTIONS'] = json.dumps(blank + [{'value': tz, 'label': tz} for tz in sanitize.VALID_TIMEZONES]) tokens['TIMEZONE_OPTIONS'] = json.dumps(blank + [{'value': tz, 'label': tz} for tz in sanitize.VALID_TIMEZONES])