summaryrefslogtreecommitdiff
path: root/tbc/templates
diff options
context:
space:
mode:
Diffstat (limited to 'tbc/templates')
-rwxr-xr-xtbc/templates/base.html3
-rw-r--r--tbc/templates/tbc/profile.html3
2 files changed, 5 insertions, 1 deletions
diff --git a/tbc/templates/base.html b/tbc/templates/base.html
index 9e7ae28..d4c3a9e 100755
--- a/tbc/templates/base.html
+++ b/tbc/templates/base.html
@@ -131,11 +131,11 @@
<li><a href="{% url 'tbc:SubmitSample' %}">Submit Sample Notebook</a></li>
<li><a href="{% url 'tbc:ConfirmBookDetails' %}">Submit Codes</a></li>
<li><a href="{% url 'tbc:GetCertificate' %}">Get Certificate</a></li>
+ <li><a href="{% url 'tbc:UpdateProfile' %}">Update Profile</a></li>
<li><a href="{% url 'tbc:UpdatePassword' %}">Update Password</a></li>
<li><a href="{% url 'tbc:UserLogout' %}">Logout</a></li>
</ul>
</li>
-
{% else %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.first_name }}<b class="caret"></b></a>
@@ -145,6 +145,7 @@
<li><a href="{% url 'tbc:SubmitSample' %}">Submit Sample Notebook</a></li>
<li><a href="{% url 'tbc:ConfirmBookDetails' %}">Submit Codes</a></li>
<li><a href="{% url 'tbc:GetCertificate' %}">Get Certificate</a></li>
+ <li><a href="{% url 'tbc:UpdateProfile' %}">Update Profile</a></li>
<li><a href="{% url 'tbc:UpdatePassword' %}">Update Password</a></li>
<li><a href="{% url 'tbc:UserLogout' %}">Logout</a></li>
</ul>
diff --git a/tbc/templates/tbc/profile.html b/tbc/templates/tbc/profile.html
index d7a1b56..e6f706a 100644
--- a/tbc/templates/tbc/profile.html
+++ b/tbc/templates/tbc/profile.html
@@ -10,9 +10,12 @@
<div class="clearfix"></div>
{% endif %}
<div id="content-wrap" style="max-width:600px;">
+ <h3>Update Your Profile</h3>
+ <hr>
<form action="/profile/" method=POST>
{% csrf_token %}
{{ form.as_p }}
+ {{ form.errors }}
<br>
<input class="btn btn-primary" type=submit value=submit>
</form>