profile_form_plugin.html: show username in a read-only field

This commit is contained in:
Benjamin Dauvergne 2014-03-21 18:03:03 +01:00
parent 62af1a1ec7
commit eb68b66e63
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,10 @@
{% load i18n %}
<div id="profile-form-plugin-{{ instance.id }}" class="profile-form-plugin">
<div id="id_username_wrap">
<label for="id_username_wrap">{% trans "Username" %}&nbsp;:</label>
<p id="id_username">{{ user.username }}</p>
</div>
<div id="id_email_wrap">
<label for="id_email_wrap">{% trans "Email" %}&nbsp;:</label>
<p id="id_email">{{ user.email }}</p>