summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShuhrat Dehkanov <k@efir.uz>2014-07-18 11:46:39 +0900
committerShuhrat Dehkanov <k@efir.uz>2014-07-18 11:46:39 +0900
commitaf650981ca44a6d86e1ce6b2295ede1452e5b076 (patch)
tree149943dc01db05bcdc98eab1252e441e4dcb7785
parentac721d1aa97372eef3b7d1772dc7f40b7c8a860d (diff)
downloadaskbot-af650981ca44a6d86e1ce6b2295ede1452e5b076.tar.gz
askbot-af650981ca44a6d86e1ce6b2295ede1452e5b076.tar.bz2
askbot-af650981ca44a6d86e1ce6b2295ede1452e5b076.zip
Removed redundant closing td tag
A redundant `</td> tag is added if screen names are editable. This fixes the issue. Also, matched the blocks indentation with that of the rest of the file.
-rw-r--r--askbot/templates/user_profile/user_edit.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/askbot/templates/user_profile/user_edit.html b/askbot/templates/user_profile/user_edit.html
index fa9ecfdd..7b819a8e 100644
--- a/askbot/templates/user_profile/user_edit.html
+++ b/askbot/templates/user_profile/user_edit.html
@@ -36,15 +36,15 @@
<th></th>
</tr>
<tr>
- <td>{% trans %}Screen Name{% endtrans %}:</td>
- <td>
- {% if settings.EDITABLE_SCREEN_NAME %}
- {{ form.username }}
- <span class="form-error"> {{ form.username.errors }} </span></td>
- {% else %}
- {{ view_user.username|escape }}
- {% endif %}
- </td>
+ <td>{% trans %}Screen Name{% endtrans %}:</td>
+ <td>
+ {% if settings.EDITABLE_SCREEN_NAME %}
+ {{ form.username }}
+ <span class="form-error"> {{ form.username.errors }} </span>
+ {% else %}
+ {{ view_user.username|escape }}
+ {% endif %}
+ </td>
</tr>
<tr>
<td>
@@ -118,7 +118,7 @@
$().ready(function(){
$("#nav_profile").attr('className',"on");
$("#cancel").bind('click', function(){history.go(-1);})
- });
+ });
</script>
{% block userjs %}
{% endblock %}