summaryrefslogtreecommitdiff
path: root/tbc/templates
diff options
context:
space:
mode:
authorhardythe12015-01-30 13:18:53 +0530
committerhardythe12015-01-30 13:18:53 +0530
commit1925e9b20777a03ede9ee59ae5d759a3524a0093 (patch)
treeff5b9b075520a652c24080c31630899e5237ef73 /tbc/templates
parent58d2c6cac74f200f2e410ee47a71f1f19971cdd2 (diff)
downloadPython-TBC-Interface-1925e9b20777a03ede9ee59ae5d759a3524a0093.tar.gz
Python-TBC-Interface-1925e9b20777a03ede9ee59ae5d759a3524a0093.tar.bz2
Python-TBC-Interface-1925e9b20777a03ede9ee59ae5d759a3524a0093.zip
check for duplicate email while registration
Diffstat (limited to 'tbc/templates')
-rw-r--r--tbc/templates/tbc/register.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/tbc/templates/tbc/register.html b/tbc/templates/tbc/register.html
index 68323fb..97bf423 100644
--- a/tbc/templates/tbc/register.html
+++ b/tbc/templates/tbc/register.html
@@ -1,5 +1,15 @@
{% extends 'base.html' %}
{% block content %}
+
+{% if DuplicateEmail %}
+ <center>
+ <div class="alert" style="width:360px;height:23px;">
+ <a class="close" data-dismiss="alert" href="#">&times;</a>
+ <p>Sorry ! User with same email address already exists.</p>
+ </div>
+ </center>
+{% endif %}
+
<div id="content-wrap" style="max-width:600px;">
<h3>Registration</h3>
<hr>