summaryrefslogtreecommitdiffstats
path: root/forum/skins/default/templates/user_edit.html
diff options
context:
space:
mode:
Diffstat (limited to 'forum/skins/default/templates/user_edit.html')
-rw-r--r--forum/skins/default/templates/user_edit.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/forum/skins/default/templates/user_edit.html b/forum/skins/default/templates/user_edit.html
index 8109949f..abbce58a 100644
--- a/forum/skins/default/templates/user_edit.html
+++ b/forum/skins/default/templates/user_edit.html
@@ -38,7 +38,13 @@
</tr>
<tr style="height:35px">
<td>{% trans "Screen Name" %}:</td>
- <td>{{ request.user.username }} <span class="form-error"></span> {{ form.username.errors }} </td>
+ <td>
+ {% if settings.EDITABLE_SCREEN_NAME %}
+ {{ form.username }}
+ {% else %}
+ {{ request.user.username }}
+ {% endif %}
+ <span class="form-error"></span> {{ form.username.errors }} </td>
</tr>
<tr style="height:35px">