summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/src/templates/account/userprofile_update_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'pharos-dashboard/src/templates/account/userprofile_update_form.html')
-rw-r--r--pharos-dashboard/src/templates/account/userprofile_update_form.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/pharos-dashboard/src/templates/account/userprofile_update_form.html b/pharos-dashboard/src/templates/account/userprofile_update_form.html
index 542ea81..f4bb7b5 100644
--- a/pharos-dashboard/src/templates/account/userprofile_update_form.html
+++ b/pharos-dashboard/src/templates/account/userprofile_update_form.html
@@ -16,9 +16,17 @@
<form enctype="multipart/form-data" method="post">
{% csrf_token %}
{% bootstrap_form form %}
+ <p><b>API Token</b>
+ <a href="{% url 'generate_token' %}" class="btn btn-default">
+ Generate
+ </a>
+ </p>
+ <p style="word-wrap: break-word;">{{ token.key }}</p>
+
+ <p></p>
{% buttons %}
<button type="submit" class="btn btn btn-success">
- Save
+ Save Profile
</button>
{% endbuttons %}
</form>