Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Krish Moodbidri
self-reg-form
Commits
3fa660a8
Commit
3fa660a8
authored
May 06, 2022
by
Krish Moodbidri
Browse files
fixed message passing error
parent
cee9f9c2
Pipeline
#6052
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/__init__.py
View file @
3fa660a8
...
@@ -58,7 +58,7 @@ def create_app(config_name):
...
@@ -58,7 +58,7 @@ def create_app(config_name):
username
=
session
[
'user'
].
get
(
'username'
),
username
=
session
[
'user'
].
get
(
'username'
),
fullname
=
session
[
'user'
].
get
(
'fullname'
),
email
=
session
[
'user'
].
get
(
'email'
),
fullname
=
session
[
'user'
].
get
(
'fullname'
),
email
=
session
[
'user'
].
get
(
'email'
),
referrer
=
session
[
'return_url'
],
cancel_url
=
vars
.
default_referrer
,
referrer
=
session
[
'return_url'
],
cancel_url
=
vars
.
default_referrer
,
cancel_msg
=
messages
.
cancel_message
,
certification_message
_msg
=
messages
.
certification_message
)
cancel_msg
=
messages
.
cancel_message
,
certification_message
=
messages
.
certification_message
)
else
:
else
:
return
render_template
(
'auth/SignUp.html'
,
room_id
=
session
[
'uid'
],
return
render_template
(
'auth/SignUp.html'
,
room_id
=
session
[
'uid'
],
username
=
session
[
'user'
].
get
(
'username'
),
username
=
session
[
'user'
].
get
(
'username'
),
...
...
app/templates/account/certify.html
View file @
3fa660a8
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
</div>
</div>
<br>
<br>
<div
class=
"col-md-7 col-sm-7 my-col"
>
<div
class=
"col-md-7 col-sm-7 my-col"
>
<button
class=
"btn btn-danger btn-md"
id=
"cancel"
name=
"cancel"
type=
"button"
onClick=
"renderDom('Account C
r
eation Cancelled','{{ cancel_msg |safe }}', null)"
>
Cancel
</button>
<button
class=
"btn btn-danger btn-md"
id=
"cancel"
name=
"cancel"
type=
"button"
onClick=
"renderDom('Account Ce
rtific
ation Cancelled','{{ cancel_msg |safe }}', null)"
>
Cancel
</button>
<button
class=
"btn btn-primary btn-md"
id=
"submit"
name=
"submit"
type=
"button"
value=
"Submit"
onclick=
"displayloading1();certify_account()"
>
Certify Account
</button>
<button
class=
"btn btn-primary btn-md"
id=
"submit"
name=
"submit"
type=
"button"
value=
"Submit"
onclick=
"displayloading1();certify_account()"
>
Certify Account
</button>
</div>
</div>
</form>
</form>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment