]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/users/edit.html
Besides making an option to make usernames to be editable, is also good that users...
[osqa.git] / forum / skins / default / templates / users / edit.html
index b3a7e74b68d14bb45710dfa6ccd17c58c9516de3..bdd0921ecc49cc761b8c276d8008e19981fd76f3 100644 (file)
                 </tr>\r
                 <tr style="height:35px">\r
                        <td>{% trans "Screen Name" %}:</td>\r
-                       <td>{{ request.user.username }} <span class="form-error"></span> {{ form.username.errors }} </td>\r
+                       <td>\r
+                       {% if form.username %}\r
+                           {{ form.username }} <span class="form-error"></span> {{ form.username.errors }}\r
+                       {% else %}\r
+                           {{ request.user.username }}\r
+                       {% endif %}\r
+                       </td>\r
                    </tr>\r
                 \r
                    <tr style="height:35px">\r