Commit 4d5779f7 authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Merge branch 'fix-message-error' into 'master'

fixed message passing error

See merge request rc/self-reg-form!34
parents cee9f9c2 3fa660a8
Pipeline #6113 failed with stage
......@@ -58,7 +58,7 @@ def create_app(config_name):
username=session['user'].get('username'),
fullname=session['user'].get('fullname'), email=session['user'].get('email'),
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:
return render_template('auth/SignUp.html', room_id=session['uid'],
username=session['user'].get('username'),
......
......@@ -94,7 +94,7 @@
</div>
<br>
<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 Creation Cancelled','{{ cancel_msg |safe }}', null)">Cancel</button>
<button class="btn btn-danger btn-md" id="cancel" name="cancel" type="button" onClick="renderDom('Account Certification 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>
</div>
</form>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment