Development
This commit is contained in:
parent
c30ba58e8f
commit
9e87212f4f
3 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue